dblink causing import errors

From: Christoph Zwerschke <cito(at)online(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: dblink causing import errors
Date: 2012-06-26 08:59:58
Message-ID: 4FE97A0E.5010507@online.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Our developers like the dblink modules, so I have installed it into the
template1 database. They also like to import old database dumps after
creating new databases with dbcreate. But then they get irritated by the
error messages saying that the dblink functions already exist, because
these functions are in the old dumps, but dbcreate already copied them
from the template1 database. Also, some scripts which copy databases
break or create unnecessary error messages because of that. Are there
any best practices when using dblink to avoid these issues?

-- Christoph

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2012-06-26 10:04:06 Re: dblink causing import errors
Previous Message Vlad Arkhipov 2012-06-26 06:56:12 txid and current_timestamp