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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-02-08 17:42:08 Re: second concurrent update takes forever
Previous Message Janning Vygen 2010-02-08 17:10:08 second concurrent update takes forever