[girgen@FreeBSD.org: Re: port fault on pg_ctl's place]

Поиск
Список
Период
Сортировка
Искать

[girgen@FreeBSD.org: Re: port fault on pg_ctl's place]

От:
Gergely CZUCZY <phoemix@harmless.hu>
Дата:
Вложения:
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  -----

Date: Tue, 12 Dec 2006 11:52:00 +0100
From: Palle Girgensohn 
To: Gergely CZUCZY 
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  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.

Re: [girgen@FreeBSD.org: Re: port fault on pg_ctl's place]

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Gergely CZUCZY  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

Re: [girgen@FreeBSD.org: Re: port fault on pg_ctl's place]

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Palle Girgensohn  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

Re: [girgen@FreeBSD.org: Re: port fault on pg_ctl's

От:
Palle Girgensohn <girgen@FreeBSD.org>
Дата:


--On onsdag, december 13, 2006 11.04.54 -0500 Tom Lane  
wrote:

> Gergely CZUCZY  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

Re: [girgen@FreeBSD.org: Re: port fault on pg_ctl's

От:
Bruce Momjian <bruce@momjian.us>
Дата:

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  
> wrote:
> 
> > Gergely CZUCZY  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. +
Index: doc/src/sgml/installation.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v
retrieving revision 1.281
diff -c -c -r1.281 installation.sgml
*** doc/src/sgml/installation.sgml	1 Feb 2007 19:10:24 -0000	1.281
--- doc/src/sgml/installation.sgml	3 Feb 2007 22:59:31 -0000
***************
*** 1365,1370 ****
--- 1365,1372 ----
  gmake -C src/interfaces install</>
  gmake -C doc install</>
  
+     src/bin</> has a few binaries for server-only use,
+     but they are small.
      
     
    
FAQ