PHP/PgSQL *and* libpq ...

Started by The Hermit Hackerover 22 years ago8 messages
#1The Hermit Hacker
scrappy@hub.org

Just a side bar to the whole thread about PHP/MySQL ... I realize that
libpq is intwined with the backend right now, but if anyone could think of
a way of at least adding a make target that would create a libpq.tar.gz
distribution, I believe it would go a long way towards making it easier
for ppl to add/compile in PgSQL support into PHP ... right now, to do so,
you have to download an 8Meg file to get libpq ... if it could be reduced
to a <.5Meg tar.gz file:

svr1# du -sk libpq
532 libpq

it would be less onerous to download and add the support in ...

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

#2Bruce Momjian
pgman@candle.pha.pa.us
In reply to: The Hermit Hacker (#1)
Re: PHP/PgSQL *and* libpq ...

Added to TODO:

* Allow creation of a libpq-only tarball

---------------------------------------------------------------------------

The Hermit Hacker wrote:

Just a side bar to the whole thread about PHP/MySQL ... I realize that
libpq is intwined with the backend right now, but if anyone could think of
a way of at least adding a make target that would create a libpq.tar.gz
distribution, I believe it would go a long way towards making it easier
for ppl to add/compile in PgSQL support into PHP ... right now, to do so,
you have to download an 8Meg file to get libpq ... if it could be reduced
to a <.5Meg tar.gz file:

svr1# du -sk libpq
532 libpq

it would be less onerous to download and add the support in ...

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#3Robert Treat
xzilla@users.sourceforge.net
In reply to: Bruce Momjian (#2)
Re: PHP/PgSQL *and* libpq ...

Seems like we should also allow for a windows specific distribution of libpq
as well.

Robert Treat

Show quoted text

On Tuesday 24 June 2003 10:43 pm, Bruce Momjian wrote:

Added to TODO:

* Allow creation of a libpq-only tarball

---------------------------------------------------------------------------

The Hermit Hacker wrote:

Just a side bar to the whole thread about PHP/MySQL ... I realize that
libpq is intwined with the backend right now, but if anyone could think
of a way of at least adding a make target that would create a
libpq.tar.gz distribution, I believe it would go a long way towards
making it easier for ppl to add/compile in PgSQL support into PHP ...
right now, to do so, you have to download an 8Meg file to get libpq ...
if it could be reduced to a <.5Meg tar.gz file:

svr1# du -sk libpq
532 libpq

it would be less onerous to download and add the support in ...

#4Marc G. Fournier
scrappy@hub.org
In reply to: Robert Treat (#3)
Re: PHP/PgSQL *and* libpq ...

On Wed, 25 Jun 2003, Robert Treat wrote:

Seems like we should also allow for a windows specific distribution of libpq
as well.

I thought that the win32 stuff was being included as part of the base
distribution? IF so, wouldn't such already be included in any
libpq.tar.gz we created? Is there a reason why we'd need a
libpq-win.tar.gz (assuming that that is what you are suggesting?) ... ?

Show quoted text

Robert Treat

On Tuesday 24 June 2003 10:43 pm, Bruce Momjian wrote:

Added to TODO:

* Allow creation of a libpq-only tarball

---------------------------------------------------------------------------

The Hermit Hacker wrote:

Just a side bar to the whole thread about PHP/MySQL ... I realize that
libpq is intwined with the backend right now, but if anyone could think
of a way of at least adding a make target that would create a
libpq.tar.gz distribution, I believe it would go a long way towards
making it easier for ppl to add/compile in PgSQL support into PHP ...
right now, to do so, you have to download an 8Meg file to get libpq ...
if it could be reduced to a <.5Meg tar.gz file:

svr1# du -sk libpq
532 libpq

it would be less onerous to download and add the support in ...

#5Robert Treat
xzilla@users.sourceforge.net
In reply to: Marc G. Fournier (#4)
Re: PHP/PgSQL *and* libpq ...

On Wed, 25 Jun 2003 08:59:41 -0300 (ADT), "Marc G. Fournier" wrote:

On Wed, 25 Jun 2003, Robert Treat wrote:

Seems like we should also allow for a windows specific distribution of libpq
as well.

I thought that the win32 stuff was being included as part of the base
distribution? IF so, wouldn't such already be included in any
libpq.tar.gz we created? Is there a reason why we'd need a
libpq-win.tar.gz (assuming that that is what you are suggesting?) ... ?

i'm merely suggesting that a *.tar.gz may not be the best method of distribution
for windows users.

Robert Treat

On Tuesday 24 June 2003 10:43 pm, Bruce Momjian wrote:

Added to TODO:

* Allow creation of a libpq-only tarball

Robert treat

--
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

#6Jan Wieck
JanWieck@Yahoo.com
In reply to: Bruce Momjian (#2)
Re: PHP/PgSQL *and* libpq ...

Marc G. Fournier wrote:

On Wed, 25 Jun 2003, Robert Treat wrote:

Seems like we should also allow for a windows specific distribution of libpq
as well.

I thought that the win32 stuff was being included as part of the base
distribution? IF so, wouldn't such already be included in any
libpq.tar.gz we created? Is there a reason why we'd need a
libpq-win.tar.gz (assuming that that is what you are suggesting?) ... ?

I think he meant a separate binary, somehow installer-wrapped libpq.dll
- right?

Honestly I think that doesn't do much for windows. It would only do if
we would add many other, more or less dependant interfaces, like ODBC,
Pgtcl, Pgperl?, JDBC, MyDBC ... but then we get into all the license,
packaging, distribution hassle.

Jan

Robert Treat

On Tuesday 24 June 2003 10:43 pm, Bruce Momjian wrote:

Added to TODO:

* Allow creation of a libpq-only tarball

---------------------------------------------------------------------------

The Hermit Hacker wrote:

Just a side bar to the whole thread about PHP/MySQL ... I realize that
libpq is intwined with the backend right now, but if anyone could think
of a way of at least adding a make target that would create a
libpq.tar.gz distribution, I believe it would go a long way towards
making it easier for ppl to add/compile in PgSQL support into PHP ...
right now, to do so, you have to download an 8Meg file to get libpq ...
if it could be reduced to a <.5Meg tar.gz file:

svr1# du -sk libpq
532 libpq

it would be less onerous to download and add the support in ...

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #

#7Marc G. Fournier
scrappy@hub.org
In reply to: Jan Wieck (#6)
Re: PHP/PgSQL *and* libpq ...

On Tue, 1 Jul 2003, Jan Wieck wrote:

Marc G. Fournier wrote:

On Wed, 25 Jun 2003, Robert Treat wrote:

Seems like we should also allow for a windows specific distribution of libpq
as well.

I thought that the win32 stuff was being included as part of the base
distribution? IF so, wouldn't such already be included in any
libpq.tar.gz we created? Is there a reason why we'd need a
libpq-win.tar.gz (assuming that that is what you are suggesting?) ... ?

I think he meant a separate binary, somehow installer-wrapped libpq.dll
- right?

Honestly I think that doesn't do much for windows. It would only do if
we would add many other, more or less dependant interfaces, like ODBC,
Pgtcl, Pgperl?, JDBC, MyDBC ... but then we get into all the license,
packaging, distribution hassle.

Well, actually, I believe Dave already does up the ODBC driver in binary
form ...

And dont' we have a 'native, non-cygwin' libpq already?

#8Dave Page
dpage@vale-housing.co.uk
In reply to: Marc G. Fournier (#7)
Re: PHP/PgSQL *and* libpq ...

-----Original Message-----
From: Marc G. Fournier [mailto:scrappy@hub.org]
Sent: 02 July 2003 00:56
To: Jan Wieck
Cc: Robert Treat; Bruce Momjian; pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] PHP/PgSQL *and* libpq ...

Well, actually, I believe Dave already does up the ODBC
driver in binary form ...

Yes I do - but it's LGPL.

And dont' we have a 'native, non-cygwin' libpq already?

There are VC++ makefiles for libpq & psql. We use the libpq ones for the
win32 port of pgAdmin3. There are no binary distributions of libpq/psql
afaik.

Regards, Dave.