Re: Blocking access to the database?? - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: Blocking access to the database??
Date
Msg-id 20030529172748.GC15305@wolff.to
Whole thread Raw
In response to Blocking access to the database??  (Carlos <Carlos@pbsinet.com>)
List pgsql-general
On Thu, May 29, 2003 at 12:29:16 -0400,
  Carlos <Carlos@pbsinet.com> wrote:
> Hi Forum,
>
> Is there a way to block access to the database or terminate ongoing
> connections while I carry-out updates or backups?
>
> Thanks in advance for your reply

You could update pg_hba.conf and restart the database server.

Are you sure you want to do that though? You can do consistant backups
while the database is being updated by other people. And people will
see a consistant view of the database if you do your updates properly.

pgsql-general by date:

Previous
From: Diogo de Oliveira Biazus
Date:
Subject: PostgreSQL brazilian community meeting on International Open Source Software Forum
Next
From: nolan@celery.tssi.com
Date:
Subject: Re: How to deny user changing his own password?