pg_ctl?

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

pg_ctl?

От:
Herbie McDuck <herbie@faams.net>
Дата:

Hmmm ... I'm using SuSE 8.2 with PostgreSQL 7.3 and cannot find 
pg_ctl.  From some doc reading pg_ctl starts the postmaster function 
and other goodies.

in SuSE 8.2, in the /etc/init.d/ directory the is a file called 
postgres that is used to start/stop/restart...etc the server. 

Is this the same thing as pg_ctl?

--Herbie

Re: pg_ctl?

От:
Nabil Sayegh <postgresql@e-trolley.de>
Дата:
Am Mon, 2003-06-02 um 03.44 schrieb Herbie McDuck:
> Hmmm ... I'm using SuSE 8.2 with PostgreSQL 7.3 and cannot find 
> pg_ctl.  From some doc reading pg_ctl starts the postmaster function 
> and other goodies.
> 
> in SuSE 8.2, in the /etc/init.d/ directory the is a file called 
> postgres that is used to start/stop/restart...etc the server. 
> 
> Is this the same thing as pg_ctl?

No. The one in /etc/init.d/ is a so called init script.
It is run when runlevel change (6 = reboot, 1 = single user, etc).

You could look for your pg_ctl in: 
/usr/lib/postgresql/bin/

That's where debian puts it.

HTH
-- 
 e-Trolley Sayegh & John, Nabil Sayegh
 Tel.: 0700 etrolley /// 0700 38765539
 Fax.: +49 69 8299381-8
 PGP : http://www.e-trolley.de

Re: pg_ctl?

От:
Herbie McDuck <herbie@faams.net>
Дата:
On Monday 02 June 2003 04:11, Nabil Sayegh wrote:
> Am Mon, 2003-06-02 um 03.44 schrieb Herbie McDuck:
> > Hmmm ... I'm using SuSE 8.2 with PostgreSQL 7.3 and cannot find
> > pg_ctl.  From some doc reading pg_ctl starts the postmaster
> > function and other goodies.
> >
> > in SuSE 8.2, in the /etc/init.d/ directory the is a file called
> > postgres that is used to start/stop/restart...etc the server.
> >
> > Is this the same thing as pg_ctl?
>
> No. The one in /etc/init.d/ is a so called init script.
> It is run when runlevel change (6 = reboot, 1 = single user, etc).
>
> You could look for your pg_ctl in:
> /usr/lib/postgresql/bin/
>
> That's where debian puts it.

Yes Nabil it did help..:)

For anyones information pg_ctl is in the /usr/bin directory for the 
SuSE 8.2 implementation.

--Herbie


FAQ