Re: Snapshot synchronization, again...

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Snapshot synchronization, again...
Дата
Msg-id 4D636155.9050000@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Snapshot synchronization, again...  (Joachim Wieland <joe@mcknight.de>)
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Snapshot synchronization, again...
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: Sync Rep v17