pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Jeff Stout <jstout@cctus.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_ctl question
Date: Mon, 28 Jun 2004 23:32:42 +0200
Message-ID: <200406282332.42957.peter_e@gmx.net> (raw)
In-Reply-To: <DKEOLMMDNDLJFHJODEJJEEPPCDAA.jstout@cctus.com>
References: <DKEOLMMDNDLJFHJODEJJEEPPCDAA.jstout@cctus.com>

Jeff Stout 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?

In /usr/local/pgsql/data/postgresql.conf (or your local equivalent 
database directory), set

tcpip_socket = true

and do pg_ctl reload




view thread (5+ messages)  latest in thread

Message-ID: <200406282332.42957.peter_e@gmx.net>
Permalink:  ../200406282332.42957.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200406282332.42957.peter_e@gmx.net

 · 

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: peter_e@gmx.net, jstout@cctus.com
  Subject: Re: pg_ctl question
  In-Reply-To: <200406282332.42957.peter_e@gmx.net>
  References: <DKEOLMMDNDLJFHJODEJJEEPPCDAA.jstout@cctus.com> <200406282332.42957.peter_e@gmx.net>

* 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