Re: Streaming base backups - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Streaming base backups
Date
Msg-id 27753.1295105404@sss.pgh.pa.us
Whole thread Raw
In response to Re: Streaming base backups  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Streaming base backups  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> BTW, I just spotted a small race condition between creating a new table 
> space and base backup. We take a snapshot of all the tablespaces in 
> pg_tblspc before calling pg_start_backup(). If someone creates a new 
> tablespace and puts some data in it in the window between base backup 
> acquiring the list tablespaces and starting the backup, the new 
> tablespace won't be included in the backup.

So what?  The needed actions will be covered by WAL replay.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: LOCK for non-tables
Next
From: Greg Smith
Date:
Subject: Re: Spread checkpoint sync