Search Postgresql Archives

Re: No PL/PHP ? Any reason?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxxxx
PGP Key: 0x14964AC8 201006220936
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkwgv9MACgkQvJuQZxSWSsgULQCfUB7AtsvETYJAI7okRdCvSh3D
d6AAnA+GfxpeUqGrXw0CMhB8mWNH0wSF
=xLp+
-----END PGP SIGNATURE-----



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux