Re: PG_DUMP and table locking in PG7.4 - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: PG_DUMP and table locking in PG7.4
Date
Msg-id 437A9290.20007@familyhealth.com.au
Whole thread Raw
In response to Re: PG_DUMP and table locking in PG7.4  (Yann Michel <yann-postgresql@spline.de>)
Responses Re: PG_DUMP and table locking in PG7.4  (Yann Michel <yann-postgresql@spline.de>)
List pgsql-hackers
It acquires share locks on EVERY table.

Yann Michel wrote:
> Hi all,
> 
> On Sun, Nov 13, 2005 at 03:22:23AM +0100, Yann Michel wrote:
> 
>>I'm using PG_DUMP for backing up a postgres 7.4 database. As I have
>>seen, the pg_dump aquires a table lock while dump the table's content.
>>What will happen, if I have a basic table and several inherited tables.
>>Will the PG_DUMP tool only aquire locks on the inherited tables or on
>>the parent-table, too? 
> 
> 
> Is anyone out there who could answer this question or even give me a
> hint about where to read about this if there is any writen things about
> that?
> 
> Thanks!
> 
> Yann
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend



pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Réf. : Re: [HACKERS] Runn
Next
From: Douglas McNaught
Date:
Subject: Re: bind variables, soft vs hard parse