pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
two methods to start postmaster
2+ messages / 2 participants
[nested] [flat]

* two methods to start postmaster
@ 2008-03-06 16:20  Marc Fromm <Marc.Fromm@wwu.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Marc Fromm @ 2008-03-06 16:20 UTC (permalink / raw)
  To: pgsql-admin

I am puzzled on the supposed two methods of starting postgres--"pg_ctl
start" and "service postgresql start". Below is my understanding. It
would be great to have some clarification on them.

My confusion stems from when I first intitiated postgres by creating the
database cluster with "initdb". I am positive that I had to perform both
commands to get everything working, "pg_ctl start" as the postgres user
and then "service postgresql start" as root.

If I understand this correctly
using the command "pg_ctl start" starts postmaster but the process (ps
ax | grep post) is listed as /usr/bin/postgres

using the command "service postgresql start" starts postmaster but the
process (ps ax | grep post) is listed as /usr/bin/postmaster -p 5432 -D
/var/lib/pgsql/data

And both are the same thing?

Thanks


Marc Fromm
Information Technology Specialist II
Financial Aid Department
Western Washington University
Phone: 360-650-3351
Fax:   360-788-0251



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: two methods to start postmaster
@ 2008-03-06 16:34  Kevin Grittner <Kevin.Grittner@wicourts.gov>
  parent: Marc Fromm <Marc.Fromm@wwu.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Kevin Grittner @ 2008-03-06 16:34 UTC (permalink / raw)
  To: pgsql-admin; Marc Fromm <Marc.Fromm@wwu.edu>

>>> On Thu, Mar 6, 2008 at 10:20 AM, in message
<81FEAB8CDDC62B42B6E8AA258228BC8804CDAC68@EVS2.univ.dir.wwu.edu>, "Marc Fromm"
<Marc.Fromm@wwu.edu> wrote: 
 
> And both are the same thing?
 
According to the documentation, postmaster is a deprecated alias for the postgres executable.
 
http://www.postgresql.org/docs/8.2/interactive/app-postmaster.html
 
-Kevin
 





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-03-06 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-03-06 16:20 two methods to start postmaster Marc Fromm <Marc.Fromm@wwu.edu>
2008-03-06 16:34 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox