Re: PL/php in pg_pltemplate - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: PL/php in pg_pltemplate
Date
Msg-id 20051125201142.GH11477@surnet.cl
Whole thread Raw
In response to Re: PL/php in pg_pltemplate  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: PL/php in pg_pltemplate  (Matteo Beccati <php@beccati.com>)
List pgsql-hackers
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.


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: PL/php in pg_pltemplate
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] BUG #2052: Federal Agency Tech Hub Refuses to Accept