Thread: Stopping POstgresql

Stopping POstgresql

From
SHAJI K K
Date:
Hi all

I am using postgresql 7.1.3 in windows NT.
I can start postgres using "postmaster -D /usr/share/postgresql/data"
command.
I am locking for the command to stop the database server gracefully.
(I am running ipc_daemon.exe as an application not as a service).
thanks in advance .

regards
SKK

Re: Stopping POstgresql

From
"Henshall, Stuart - WCP"
Date:
pg_ctl stop
or for fast stop:
pg_ctl -m f stop
you can also do:
kill -SIGINT <postmaster pid>
For a 'fast' shutdown
Hope this helps,
- Stuart

> -----Original Message-----
> From: SHAJI K K [mailto:KKSHAJI@nestec.net]
> Sent: 21 February 2002 04:38
> To: pgsql-cygwin@postgresql.org
> Subject: [CYGWIN] Stopping POstgresql
>
>
> Hi all
>
> I am using postgresql 7.1.3 in windows NT.
> I can start postgres using "postmaster -D /usr/share/postgresql/data"
> command.
> I am locking for the command to stop the database server gracefully.
> (I am running ipc_daemon.exe as an application not as a service).
> thanks in advance .
>
> regards
> SKK
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org
>