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

Re: [despammed] A question about postmaster and postgresql commands

From: Andreas Kretschmer <akretschmer(at)despammed(dot)com>
To: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: [despammed] A question about postmaster and postgresql commands
Date: 2005-05-24 08:01:58
Message-ID: 20050524080158.GF22739@webserv.wug-glas.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  24.05.2005, um  9:50:56 +0200 mailte Agustín Caminero Herráez folgendes:
> Hi!
> Can anybody tell me what the difference between postmaster and posgresql 
> is?
> More accurately, what's the difference between running the following 
> commands?
> 
> /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &

It starts the postmaster-process. This is the main process of pg.


> 
> and
> 
> /etc/init.d/postgresql start

This is a unix-like start/stop - script. You have any other scripts like
this, and you can run this scripts like '/etc/init.d/SCRIPT start' or
with 'stop' as parameter tu start/stop several services in the same way.


Please do a 'less /etc/init.d/postgresql', and you can see how this
script works.


Regards, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

In response to

pgsql-novice by date

Next:From: Jan B.Date: 2005-05-24 08:46:03
Subject: Re: "NOT NULL"
Previous:From: Agustín Caminero HerráezDate: 2005-05-24 07:50:56
Subject: A question about postmaster and postgresql commands

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