Re: Snapshot synchronization, again... - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Snapshot synchronization, again...
Date
Msg-id 4D636155.9050000@enterprisedb.com
Whole thread Raw
In response to Re: Snapshot synchronization, again...  (Joachim Wieland <joe@mcknight.de>)
List pgsql-hackers
On 21.02.2011 21:33, Joachim Wieland wrote:
> Hi,
>
> On Mon, Feb 21, 2011 at 4:56 PM, Alvaro Herrera
> <alvherre@commandprompt.com>  wrote:
>> What's the reason for this restriction?
>>         if (databaseId != MyDatabaseId)
>>                 ereport(ERROR,
>>                         (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
>>                          errmsg("cannot import snapshot from a different database")));
>
> I just couldn't think of a use case for it and so didn't want to
> introduce a feature that we might have to support in the future then.

Hmm, here's one: getting a consistent snapshot of all databases in 
pg_dumpall. Not sure how useful that is..

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Snapshot synchronization, again...
Next
From: Marti Raudsepp
Date:
Subject: Re: Sync Rep v17