On 21.02.2011 21:33, Joachim Wieland wrote:
Hi,

On Mon, Feb 21, 2011 at 4:56 PM, Alvaro Herrera
<alvhe...@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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to