Re: pg_ctl question - Mailing list pgsql-admin

From jseymour@linxnet.com (Jim Seymour)
Subject Re: pg_ctl question
Date
Msg-id 20040628215728.B054D430E@jimsun.linxnet.com
Whole thread Raw
In response to pg_ctl question  ("Jeff Stout" <jstout@cctus.com>)
List pgsql-admin
"Jeff Stout" <jstout@cctus.com> wrote:
>
> I am using the /contrib/start-scripts/linux file to set
> up postgres to automatically restart upon reboot.
>
> I set it up /etc/init.d/postgres which calls pg_ctl
>
> pg_ctl invokes postmaster
>
> where do I set the -i option to allow tcp connection?
[snip]

Set "tcpip_socket = true" in $PGDATA/postgresql.conf and restart.

And you'll want to set up host entries in $PGDATA/pg_hba.conf, as
well.

Jim

pgsql-admin by date:

Previous
From: Jason Jahn
Date:
Subject: Re: pg_ctl question
Next
From: Jose' Cruanyes
Date:
Subject: Re: Change the character encoding of a database