Thread: pg_ctl?

pg_ctl?

From
Herbie McDuck
Date:
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?

From
Nabil Sayegh
Date:
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?

From
Herbie McDuck
Date:
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