Unix Technical Forum

two methods to start postmaster

This is a discussion on two methods to start postmaster within the pgsql Admins forums, part of the PostgreSQL category; --> I am puzzled on the supposed two methods of starting postgres--"pg_ctl start" and "service postgresql start". Below is my ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:19 AM
Marc Fromm
 
Posts: n/a
Default two methods to start postmaster

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

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://mail.postgresql.org/mj/mj_www...ra=pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 09:19 AM
Kevin Grittner
 
Posts: n/a
Default Re: two methods to start postmaster

>>> On Thu, Mar 6, 2008 at 10:20 AM, in message
<81FEAB8CDDC62B42B6E8AA258228BC8804CDAC68@EVS2.uni v.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/i...ostmaster.html

-Kevin




--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://mail.postgresql.org/mj/mj_www...ra=pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:10 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com