From: | "Greg Sabino Mullane" <greg(at)turnstep(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: No PL/PHP ? Any reason? |
Date: | 2010-06-22 13:51:35 |
Message-ID: | 41933015e64e0593a31f4e6cc30ee15a@biglumber.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
> Is there any technical obstacle to anyone creating PL/PHP? I am
> cruious as to why it doesn't alreay exist.
Obviously we need to improve our documentation. What led you to
believe it does not exist? As pointed out downthread, it does
exist (if not maintained).
> I mean, I love my Tcl support, and I know this is part of PG's
> legacy... but Tcl and no PHP? I figure there's a tech reason for
> this - the demand must be there! No?
No, I'd say the demand is most definitely not there. I support a
great number of clients, and pretty much everyone uses pl/pgsql,
a great many use pl/perl, and a handful use pl/tcl or pl/python
or pl/ruby. Nobody uses pl/php.
Some major strikes against it (consider these todo items for
those who would like to see pl/php live again):
* No trusted/untrusted versions
* Not in core
* Not even in contrib or pgfoundry or github
* It seems to suffer from a lot of configuration issues
* Hard to find:
** First google hit on pl/php is projects.commandprompt.com/public/plphp
** Which simply says: Go here instead: https://redmine.commandprompt.com/
** Which stops you with a login and password page
* The documentation is a mess (dead URLs, mislabelled sections)
* PHP is not as stable, mature, secure, or well designed as Perl/Tcl/Python.
Which makes Postgres people less likely to consider it.
* They chose backslash '\' as their namespace delimiter. Backslash!
Okay, that last one isn't a major strike, but it's damn annoying (and
indicative of the poor design of the language :)
- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 201006220936
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAkwgv9MACgkQvJuQZxSWSsgULQCfUB7AtsvETYJAI7okRdCvSh3D
d6AAnA+GfxpeUqGrXw0CMhB8mWNH0wSF
=xLp+
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian von Bidder | 2010-06-22 14:35:01 | Re: What type of index should I use? |
Previous Message | Greg Smith | 2010-06-22 13:44:29 | Re: High Availability with Postgres |