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: 2005-11-25 20:11:42
Message-ID: 20051125201142.GH11477@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-11-25 20:18:01 Re: [HACKERS] BUG #2052: Federal Agency Tech Hub Refuses to Accept
Previous Message Alvaro Herrera 2005-11-25 19:57:30 Re: PL/php in pg_pltemplate