Re: stopping access to a database - Mailing list pgsql-general

From Christopher Kings-Lynne
Subject Re: stopping access to a database
Date
Msg-id GNELIHDDFBOCMGBFGEFOCEDNCFAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: stopping access to a database  (Dennis Gearon <gearond@cvc.net>)
List pgsql-general
> So,
>     the connections that will see the new data won't be able to
> access data until that
> transaction has finished the 'commit' stage, or will they be able
> to read some of the records
> while the importation is partially done?

The former.  Other transations won't see the data and also because you went:

LOCK TABLE IN ACCESS EXCLUSIVE MODE

or something, they won't even be able to access the tables...

Chris


pgsql-general by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Using RSYNC for replication?
Next
From: "scott.marlowe"
Date:
Subject: Re: How do I unsubscribe?