pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jseymour@linxnet.com
To: pgsql-admin@postgresql.org
Subject: Re: pg_ctl question
Date: Mon, 28 Jun 2004 17:57:28 -0400 (EDT)
Message-ID: <20040628215728.B054D430E@jimsun.linxnet.com> (raw)
In-Reply-To: <DKEOLMMDNDLJFHJODEJJEEPPCDAA.jstout@cctus.com>

"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



view thread (5+ messages)

Message-ID: <20040628215728.B054D430E@jimsun.linxnet.com>
Permalink:  ../20040628215728.B054D430E@jimsun.linxnet.com/
Also on:    postgresql.org/message-id/20040628215728.B054D430E@jimsun.linxnet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jseymour@linxnet.com
  Subject: Re: pg_ctl question
  In-Reply-To: <20040628215728.B054D430E@jimsun.linxnet.com>
  References: <DKEOLMMDNDLJFHJODEJJEEPPCDAA.jstout@cctus.com> <20040628215728.B054D430E@jimsun.linxnet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox