Re: Re-initialize pg_hba.conf file?

From: Miroslav Šulc <miroslav(dot)sulc(at)startnet(dot)cz>
To: David Wagoner <dbwagoner(at)gmail(dot)com>
Cc: PgSQL Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Re-initialize pg_hba.conf file?
Date: 2005-03-16 14:40:35
Message-ID: 42384563.8050905@startnet.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Attachment Content-Type Size
miroslav.sulc.vcf text/x-vcard 387 bytes

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David Wagoner 2005-03-16 14:59:22 Re: Re-initialize pg_hba.conf file?
Previous Message Jason Minion 2005-03-16 14:38:52 Re: Re-initialize pg_hba.conf file?