Re: PL/php in pg_pltemplate
- From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
- To: Andrew Dunstan <andrew(at)dunslane(dot)net>
- Cc: peter_e(at)gmx(dot)net, jd(at)commandprompt(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
- Subject: Re: PL/php in pg_pltemplate
- Date: Fri, 25 Nov 2005 17:11:42 -0300
- Message-id: <20051125201142(dot)GH11477(at)surnet(dot)cl>
Andrew Dunstan wrote:
> I have no objection to this, but it's not clear to me that it buys much
> either. AFAIK only very modern PHP releases escape the circular dependency
> issue, no matter how we arrange our source code. What versions of PHP will
> PL/PHP be supporting?
Currently PL/php builds using PGXS so you don't need to build it with
the rest of PostgreSQL. This means no circular dependency involved.
AFAICS PL/Perl could do the same just as well, probably PL/Python and
PL/Tcl could too.
(I'm using PHP 4.4.1 to develop. AFAIK it works just as well with PHP
5, but I haven't tried yet.)
The only sore point of the PL/php build is that it needs the Apache2
module, so it needs to know the path to it. I haven't found a way to do
this automatically without requiring APXS which I certainly don't want
to do ...
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
Home |
Main Index |
Thread Index