Skip site navigation (1) Skip section navigation (2)

Re: which the best way to start postgres.

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: which the best way to start postgres.
Date: 2010-02-08 17:24:45
Message-ID: 4B7048DD.7030201@hogranch.com (view raw or flat)
Thread:
Lists: pgsql-general
erobles wrote:
> Which is the best way to start postgres????
>
> througth  pc_ctl or postmaster????

depends on your OS too.   on a RH/Fedora kind of install, where there is 
a /etc/init.d script to start postgres, the best way of starting it is...

    # /etc/init.d/postgresql start

on  a windows system, where postgres is installed as a system service...

    C:\> net start pgsql-8.3

on a solaris 10 system, where postgres is under control of the SMF 
service manager,

    # svcadm enable postgresql:version_83_64bit


if you're rolling your own service descriptor, or don't have one yet, 
then yes, use pg_ctl





In response to

pgsql-general by date

Next:From: Tom LaneDate: 2010-02-08 17:42:08
Subject: Re: second concurrent update takes forever
Previous:From: Janning VygenDate: 2010-02-08 17:10:08
Subject: second concurrent update takes forever

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group