Re: allowing connections from additional hosts without a restart?

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Lonni J Friedman <netllama(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: allowing connections from additional hosts without a restart?
Date: 2005-01-13 18:38:11
Message-ID: 20050113183811.GC14874@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 13, 2005 at 08:55:08AM -0800, Lonni J Friedman wrote:

> The issue i'm having is that i've got a postgresql-7.4.6 box that has
> a DB running on it for a j2ee based application on a separate server.
> Now i need to add an additional DB for a different server, but I can't
> afford any down time to restart postgresql for the changes in
> pg_hba.conf to take effect.
>
> Is there any workaround that doesn't require a restart?

Sure. Send a SIGHUP to the postmaster. One easy way is

pg_ctl reload

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"Porque Kim no hacia nada, pero, eso sí,
con extraordinario éxito" ("Kim", Kipling)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-01-13 18:39:15 Re: allowing connections from additional hosts without a restart?
Previous Message Michael Fuhr 2005-01-13 18:37:27 Re: vacuum vs open transactions