Re: postmaster, but not pg_ctl -i -i
| От | Aurangzeb M. Agha |
|---|---|
| Тема | Re: postmaster, but not pg_ctl -i -i |
| Дата | |
| Msg-id | Pine.LNX.4.44.0211140830130.3388-100000@cinemaspace.berkeley.edu обсуждение исходный текст |
| Ответ на | Re: postmaster, but not pg_ctl -i -i (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: postmaster, but not pg_ctl -i -i
|
| Список | pgsql-general |
Tom, you're right. The postmaster command specifying the port failed as
well, but I can run fine on a different port (5433).
Where can I find a list of the different options I can pass postmaster and
pg_ctl?
I looked in the reference doc but all I see there is:
-o options
Specifies options to be passed directly to postmaster.
The parameters are usually surrounded by single or double quotes to ensure that they are passed
through as a group.
I'm specifically interested in knowing how to specify the port for pg_ctl,
but would like to know what the options for the two commands is as well.
Thx,
Aurangzeb
On Thu, 14 Nov 2002, Tom Lane wrote:
:"Aurangzeb M. Agha" <aagha@bigfoot.com> writes:
:> $ pg_ctl start -D . -o -i
:> postmaster successfully started
:> FATAL: StreamServerPort: bind() failed: Address already in use
:> Is another postmaster already running on port 5432?
:> If not, wait a few seconds and retry.
:> /usr/local/pgsql/bin/postmaster: cannot create INET stream port
:
:> BUT, if I do:
:
:> $ postmaster -D . -o -i -p 5432
:
:These are not the same command: in particular -o means completely
:different things. I expect that
:
:$ postmaster -D . -i -p 5432
:
:(which is what pg_ctl will do) will fail.
:
:You may be able to find what process is using TCP port 5432 by using
:netstat or lsof or some such tool.
:
: regards, tom lane
В списке pgsql-general по дате отправления: