Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] plPHP in core?

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: 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>,"Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>,"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-04 21:03:39
Message-ID: 20050404210339.GA9220@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
On Mon, Apr 04, 2005 at 04:48:50PM -0400, Robert Treat wrote:

> If by "stripped down" you mean without postgresql database support then
> I'll grant you that, but it is no different than other any other pl
> whose parent language requires postgresql to be installed.  If packagers
> are able to handle those languages than why can't they do the same with
> PHP ?

Because those other languages are well designed and PHP is not.  The
Postgres support package for Perl is a completely separate add-on, which
you can add well after the core of Perl is installed.  Same for Python.
But PHP is a braindead package which includes the Postgres support in
the main codebase.

The problem is that even if you could build a Postgres support package
for PHP without building the whole PHP (which you _can_ do AFAIK), it
means that you need to make a second pass at the PHP source RPM, which
will be probably rejected by packagers.


I think the problem could be solved if we were to include PHP in the
main CVS, but not distribute it in the same tarball.  So the code is
kept where it really belongs, and we allow building both things
separately for the packagers' sake.

-- 
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"If it wasn't for my companion, I believe I'd be having
the time of my life"  (John Dunbar)

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2005-04-04 21:06:27
Subject: Re: Notes on lock table spilling
Previous:From: Doug McNaughtDate: 2005-04-04 21:00:22
Subject: Re: [HACKERS] plPHP in core?

pgsql-general by date

Next:From: Robert TreatDate: 2005-04-04 21:15:03
Subject: Re: [HACKERS] plPHP in core?
Previous:From: Doug McNaughtDate: 2005-04-04 21:00:22
Subject: Re: [HACKERS] plPHP in core?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group