From:
Martijn van Oosterhout <kleptog(at)svana(dot)org>
To:
Russell Smith <mr-russ(at)pws(dot)com(dot)au>
Cc:
"Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>,"Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>,"Psql_General (E-mail)" <pgsql-general(at)postgresql(dot)org>,PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: [HACKERS] plPHP in core?
Date:
2005-04-05 09:02:20
Message-ID:
20050405090215.GB26683@svana.org (view raw or flat )
Thread:
2005-04-02 03:11:14 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 03:16:16 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-04-02 03:27:24 from Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
2005-04-02 05:16:52 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 04:43:25 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-02 05:04:48 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-02 05:19:32 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 05:41:04 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 06:09:25 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-02 06:19:16 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-02 06:31:13 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-02 15:30:08 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 15:29:02 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 19:20:48 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-04 00:41:51 from "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
2005-04-04 03:41:15 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-04 03:58:35 from "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
2005-04-04 04:19:51 from Greg Stark <gsstark(at)mit(dot)edu>
2005-04-04 09:26:33 from Marco Colombo <pgsql(at)esiway(dot)net>
2005-04-04 15:03:50 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-04 15:02:30 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-05 00:52:43 from Paul Tillotson <pntil(at)shentel(dot)net>
2005-04-05 02:06:12 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-05 14:41:05 from Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
2005-04-05 20:21:11 from Russ Brown <pickscrape(at)gmail(dot)com>
2005-04-02 07:46:50 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 09:54:51 from Thomas Hallgren <thhal(at)mailblocks(dot)com>
2005-04-02 09:54:51 from Thomas Hallgren <thhal(at)mailblocks(dot)com>
2005-04-02 19:24:05 from Joe Conway <mail(at)joeconway(dot)com>
2005-04-02 15:12:36 from Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
2005-04-02 15:33:31 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 19:24:27 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-02 19:48:12 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 19:54:33 from Rod Taylor <pg(at)rbt(dot)ca>
2005-04-02 20:46:32 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 23:16:32 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-03 02:55:18 from Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
2005-04-02 06:13:30 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-02 15:21:00 from Dave Cramer <pg(at)fastcrypt(dot)com>
2005-04-02 15:34:14 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 16:00:22 from Dave Cramer <pg(at)fastcrypt(dot)com>
2005-04-02 19:33:32 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-02 20:42:49 from "YL" <elim(at)pdtnetworks(dot)net>
2005-04-02 21:11:07 from "YL" <elim(at)pdtnetworks(dot)net>
2005-04-02 22:21:22 from Christopher Browne <cbbrowne(at)acm(dot)org>
2005-04-02 23:15:49 from jcradock(at)me3(dot)com
2005-04-02 23:23:56 from jcradock(at)me3(dot)com
2005-04-04 00:50:14 from "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
2005-04-03 08:38:32 from Thomas Hallgren <thhal(at)mailblocks(dot)com>
2005-04-04 15:36:10 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2005-04-04 16:01:41 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-04 16:30:50 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2005-04-04 19:56:28 from Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
2005-04-04 20:17:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-04 20:48:50 from Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
2005-04-04 21:00:22 from Doug McNaught <doug(at)mcnaught(dot)org>
2005-04-04 21:15:03 from Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
2005-04-05 02:46:18 from "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
2005-04-05 08:44:17 from "Andrew Dunstan" <andrew(at)dunslane(dot)net>
2005-04-05 12:25:56 from Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
2005-04-04 21:03:39 from Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
2005-04-04 21:19:46 from Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
2005-04-04 21:32:48 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-05 03:37:43 from Greg Stark <gsstark(at)mit(dot)edu>
2005-04-04 20:17:59 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2005-04-04 20:32:39 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-04 20:36:00 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-04 20:54:49 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-05 12:07:00 from Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
2005-04-05 15:15:00 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-04 20:01:29 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-05 08:06:09 from Russell Smith <mr-russ(at)pws(dot)com(dot)au>
2005-04-05 09:02:20 from Martijn van Oosterhout <kleptog(at)svana(dot)org>
2005-04-05 09:17:48 from Robin Ericsson <robin(dot)ericsson(at)profecta(dot)se>
2005-04-05 09:56:19 from Martijn van Oosterhout <kleptog(at)svana(dot)org>
2005-04-05 10:01:52 from Robin Ericsson <robin(dot)ericsson(at)profecta(dot)se>
2005-04-05 15:05:34 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-05 15:26:24 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-05 15:53:57 from tony <tony(at)tgds(dot)net>
2005-04-05 16:05:29 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-05 21:46:50 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-05 16:00:09 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-04-05 21:49:31 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-09 01:10:53 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-04-05 15:33:39 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
2005-04-02 05:17:49 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 05:13:43 from "Vishal Kashyap (at) [SaiHertz]" <vishalonlist(at)gmail(dot)com>
2005-04-02 05:38:19 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 15:20:14 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 15:49:52 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 16:51:19 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 16:57:34 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 17:32:47 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 18:48:33 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-04-02 23:32:58 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-04-02 23:46:37 from "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Lists:
pgsql-general pgsql-hackers
On Tue, Apr 05, 2005 at 06:06:09PM +1000, Russell Smith wrote:
> The issue also includes the fact that you can't install libpq without having postgresql
> installed. If you could do that, the circular dependency wouldn't exist.
>
> Some systems build postgresql into php, given that is the case, what Tom says is correct.
> First you would have to force postgresql to be installed without pl/php. Then install php
> with postgresql support, then install pl/php.
>
> OR
>
> Install php without postgresql support
> Install postgresql with pl/php
> Rebuild php with postgresql support (Unless you only want it available in the db)
Take for example Debian, it autobuilds any source package on 11
architectures or so. The rule is, install dependancies, build source.
It has to be reproducable. You can't build twice and get different
results. Yes, if you're building it yourself you can do all sorts of
trick, but autobuilders can't. Circular dependancies are a no-no.
> I may be a bad man for suggesting it... But is it possible to ship libpq as a seperate
> tarball that you can compile without postgresql server?
I guess that seperate tarball would have to include pg_dump, pg_ctl and
any of the other included programs that depend on libpq. Seperating
server and client portions is an interesting idea. Ofcourse, the
regression tests would become a third package and then you could spend
time making them all match.
I suppose the choice comes down to either PHP splitting the DB access
(like other languages) or PostgreSQL splitting out pl/PHP.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
In response to
Responses
pgsql-hackers by date
Next :From: Robin EricssonDate: 2005-04-05 09:17:48
Subject : Re: [HACKERS] plPHP in core?
Previous :From : Andrew DunstanDate : 2005-04-05 08:44:17
Subject : Re: [GENERAL] plPHP in core?
pgsql-general by date
Next :From: tonyDate: 2005-04-05 09:03:36
Subject : Re: insert woes
Previous :From : Andrew DunstanDate : 2005-04-05 08:44:17
Subject : Re: [GENERAL] plPHP in core?