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

Re: How do I start postmaster with -i for tcp-ip

From: "Nabil Sayegh" <billy(at)sayegh(dot)de>
To: "Joe Moraca" <jmoraca(at)home(dot)com>, "Nabil Sayegh" <nsmail(at)sayegh(dot)de>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: How do I start postmaster with -i for tcp-ip
Date: 2001-06-10 17:03:13
Message-ID: 000f01c0f1cf$3e1a2900$6e2aa8c0@of.de (view raw or flat)
Thread:
Lists: pgsql-novice
> Thanks for the help but I still can't get it to work..
>
> This is what is in my startup file:
>
> su -l -s /bin/sh postgres -c "LC_ALL=C /usr/bin/pg_ctl -D $PGDATA -p/
> usr/bin/postmaster start >/dev/null 2>&1" < /dev/null
>
> I have tried to put -i or -i\ in serveral places mostly after $PGDATA and
it
> fails to load.  w/out -i it works fine???

The backslashes belong to the quotes.
The program you call is pg_ctl, but -i is a parameter for postmaster.
You pass parameters to postmaster by specifying them after the -o option.
To be able to put more than one parameter to the postmaster you should
enclose them
in quotes. But as the whole string already is in quotes (su "...") you have
to use backslashes for the inner quotes.

cu
--
 Nabil Sayegh



In response to

pgsql-novice by date

Next:From: Eric Naujock Date: 2001-06-10 23:25:15
Subject: Re: foreign keys
Previous:From: ffrtDate: 2001-06-10 16:15:22
Subject: foreign keys

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