[girgen@FreeBSD.org: Re: port fault on pg_ctl's place]
hello,
please read this post and the comment for it, maybe
the postgresql may need an update at separating the binaries.
this was pointed out in the FreeBSD ports collection.
----- Forwarded message from Palle Girgensohn <girgen@FreeBSD.org> -----
Date: Tue, 12 Dec 2006 11:52:00 +0100
From: Palle Girgensohn <girgen@FreeBSD.org>
To: Gergely CZUCZY <phoemix@harmless.hu>
Subject: Re: major port fault on pg_ctl's place
Hi!
This is wierd, I agree. The split between server and client is really made in the postgresql sources,
I just follow their guidelines. None the less, I'll look into patching the sources to get this
correct. Thanks for pointing it out.
Regards,
PAlle
--On torsdag, december 07, 2006 17.19.28 +0100 Gergely CZUCZY <phoemix@harmless.hu> wrote:
hello
i've upgrading atm a 8.1.4 double-installation (normal+testserver).
i've updated -client into 8.2, and now i'm unable to start the 8.1.4
service anymore. the problem is that, the pg_ctl is part of the -client
package, whereas it has nothing to do wit client-side things. postmaster
and postgres are part of -server. so atm, the installation is unstartable.
there was a change among them.i had updated the client to be able to make a dump in 8.2's new format
features.it would be _very_ wise to move the pg_ctl into -server _ASAP_
Bye,
Gergely Czuczy
mailto: gergely.czuczy@harmless.hu--
Weenies test. Geniuses solve problems that arise.
----- End forwarded message -----
Bye,
Gergely Czuczy
mailto: gergely.czuczy@harmless.hu
--
Weenies test. Geniuses solve problems that arise.
Gergely CZUCZY <phoemix@harmless.hu> writes:
This is wierd, I agree. The split between server and client is really made =
in the postgresql sources,
I just follow their guidelines.
[ checks RPM specfiles ... ] Both Devrim and I put pg_ctl in the server
subpackage, dunno where you think that the sources encourage something
else ...
regards, tom lane
--On onsdag, december 13, 2006 11.04.54 -0500 Tom Lane <tgl@sss.pgh.pa.us>
wrote:
Gergely CZUCZY <phoemix@harmless.hu> writes:
This is wierd, I agree. The split between server and client is really
made = in the postgresql sources,
I just follow their guidelines.[ checks RPM specfiles ... ] Both Devrim and I put pg_ctl in the server
subpackage, dunno where you think that the sources encourage something
else ...regards, tom lane
From INSTALL:
...
Client-only installation: If you want to install only the client
applications and interface libraries, then you can use these
commands:
gmake -C src/bin install
gmake -C src/include install
gmake -C src/interfaces install
gmake -C doc install
...
src/bin has pg_ctl et al. Maybe encourage is a strong word... ;-)
Just moving pg_ctl to the server package and let the server package depend
on libpq.so.5 should help in this case, I guess...
/Palle
Palle Girgensohn <girgen@FreeBSD.org> writes:
From INSTALL:
...
Client-only installation: If you want to install only the client
applications and interface libraries, then you can use these
commands:
gmake -C src/bin install
gmake -C src/include install
gmake -C src/interfaces install
gmake -C doc install
...
src/bin has pg_ctl et al. Maybe encourage is a strong word... ;-)
Actually there's quite a lot of stuff under src/bin that has no value in
a client-only installation: initdb, ipcclean, pg_controldata,
pg_resetxlog ... probably those instructions need some amendment.
regards, tom lane
Documentation patch attached and applied to HEAD and 8.2.X.
---------------------------------------------------------------------------
Palle Girgensohn wrote:
--On onsdag, december 13, 2006 11.04.54 -0500 Tom Lane <tgl@sss.pgh.pa.us>
wrote:Gergely CZUCZY <phoemix@harmless.hu> writes:
This is wierd, I agree. The split between server and client is really
made = in the postgresql sources,
I just follow their guidelines.[ checks RPM specfiles ... ] Both Devrim and I put pg_ctl in the server
subpackage, dunno where you think that the sources encourage something
else ...regards, tom lane
From INSTALL:
...
Client-only installation: If you want to install only the client
applications and interface libraries, then you can use these
commands:
gmake -C src/bin install
gmake -C src/include install
gmake -C src/interfaces install
gmake -C doc install
...src/bin has pg_ctl et al. Maybe encourage is a strong word... ;-)
Just moving pg_ctl to the server package and let the server package depend
on libpq.so.5 should help in this case, I guess.../Palle
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +