Re: [HACKERS] plPHP in core? - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: [HACKERS] plPHP in core?
Date
Msg-id 4251A467.9030906@commandprompt.com
Whole thread Raw
In response to Re: [HACKERS] plPHP in core?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [HACKERS] plPHP in core?
List pgsql-general
> I am told that the difference is that PHP gives you a choice of
> statically or dynamically linked db support. By contrast, in Perl, for
> example, DBD::Pg is always built dynamically (AFAIK). Your assessment
> appears to be true for the (very common) case where PHP's client side
> db support is dynamically lnked.

PHP is typically dynamically built as well now. If you install redhat
you have to explictly say php-pgsql to get postgresql support.
This is the same on all the major Linux distriubtions I know of
including one offs like Ubuntu.

As Marc pointed out it is also the same on FreeBSD.

Maybe I am just dense, but the argument seems to be completely moot. PHP
is no different than Perl or Python in this case. Heck even if PHP is built
statically (where the PostgreSQL driver is linked in versus an .so) it
still has nothing to do with plPHP.

Sincerely,

Joshua D. Drake



>
> cheers
>
> andrew



pgsql-general by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] plPHP in core?
Next
From: Ying Lu
Date:
Subject: about "allow reporting of which objects are in which tablespace"?