pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Wagoner <dbwagoner@gmail.com>
To: PgSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: Re-initialize pg_hba.conf file?
Date: Wed, 16 Mar 2005 09:59:22 -0500
Message-ID: <3085811c05031606597f0dd20d@mail.gmail.com> (raw)
In-Reply-To: <42384563.8050905@startnet.cz>
References: <3085811c0503160628765f6539@mail.gmail.com>
	<42384563.8050905@startnet.cz>

Ah, my Sys. Admin. tells me this is the easiest way and it won't
restart the database instance:

kill -HUP postmaster_pid

-david


On Wed, 16 Mar 2005 15:40:35 +0100, Miroslav Ć ulc
<miroslav.sulc@startnet.cz> wrote:
> David Wagoner wrote:
> 
> >Is there a way to have Postgres re-read the pg_hba.conf file while the
> >database is up and running (i.e., no restarting)?  Perhaps using
> >SIGHUP?
> >
> >
> I think you're right with the SIGHUP. In my init script from Gentoo
> there is option to reload (which I think is the same):
> su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
> 
> >I added a user entry to the pg_hba.conf file and cannot bounce the database.
> >
> >thanks,
> >
> >david
> >
> Miroslav
> 
> 
>



view thread (4+ messages)

Message-ID: <3085811c05031606597f0dd20d@mail.gmail.com>
Permalink:  ../3085811c05031606597f0dd20d@mail.gmail.com/
Also on:    postgresql.org/message-id/3085811c05031606597f0dd20d@mail.gmail.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: dbwagoner@gmail.com
  Subject: Re: Re-initialize pg_hba.conf file?
  In-Reply-To: <3085811c05031606597f0dd20d@mail.gmail.com>
  References: <3085811c0503160628765f6539@mail.gmail.com> <42384563.8050905@startnet.cz> <3085811c05031606597f0dd20d@mail.gmail.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