Re: Re-initialize pg_hba.conf file?

From: David Wagoner <dbwagoner(at)gmail(dot)com>
To: PgSQL Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Re-initialize pg_hba.conf file?
Date: 2005-03-16 14:59:22
Message-ID: 3085811c05031606597f0dd20d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(dot)sulc(at)startnet(dot)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
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message John DeSoi 2005-03-16 15:11:38 Re: FYI: Interview with Josh Berkus at Mad Penguin
Previous Message Miroslav Šulc 2005-03-16 14:40:35 Re: Re-initialize pg_hba.conf file?