dbTalk Databases Forums  

Shut down postgres server...

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Shut down postgres server... in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
celoftis@unity.ncsu.edu
 
Posts: n/a

Default Shut down postgres server... - 06-06-2004 , 07:58 PM






What's the appropiate command to shut down the Postgres server (postmaster)?

Charles Loftis
celoftis (AT) unity (DOT) ncsu.edu



---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #2  
Old   
Scott Marlowe
 
Posts: n/a

Default Re: Shut down postgres server... - 06-07-2004 , 02:57 PM






On Sun, 2004-06-06 at 18:58, celoftis (AT) unity (DOT) ncsu.edu wrote:
Quote:
What's the appropiate command to shut down the Postgres server (postmaster)?
as the postgres super user, you can shut it down with:

pg_ctl stop

If you are on an RPM based system like redhat, as the super user (i.e.
root) enter the command:

service postgresql stop


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



Reply With Quote
  #3  
Old   
Josh Berkus
 
Posts: n/a

Default Re: Shut down postgres server... - 06-07-2004 , 02:58 PM



Charles,

Quote:
What's the appropiate command to shut down the Postgres server
(postmaster)?
$PGBIN/pg_ctl -D $PGDATA stop

where $PGBIN is your PG program directory, and $PGDATA is your database
directory. See the documentation, under "Server Programs-->pg_ctl" for more
instructions.

--
Josh Berkus
Aglio Database Solutions
San Francisco

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.