From: Tom Lane <tgl@sss.pgh.pa.us>
To: nickf@ontko.com
Cc: Oliver Elphick <olly@lfix.co.uk>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: pg_restore error: function plpgsql_call_handleralready exists with same argument types
Date: Wed, 27 Nov 2002 11:42:43 -0500
Message-ID: <18199.1038415363@sss.pgh.pa.us> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGEEPMGDAA.nickf@ontko.com>
References: <NEBBLAAHGLEEPCGOBHDGEEPMGDAA.nickf@ontko.com>
"Nick Fankhauser" <nickf@ontko.com> writes:
> We've never touched template1, but just to make sure, I tried using
> template0 to ensure an empty DB with the same results:
> nickf@morgai:~$ createdb -D PG_ALPHA -T template0 test
> CREATE DATABASE
> nickf@morgai:~$ pg_restore -dalpha test.dump.tar
> pg_restore: [archiver (db)] could not execute query: ERROR: function
> plpgsql_call_handler already exists with same argument types
> nickf@morgai:~$
Er, it looks like you created an empty 'test' and then tried (again)
to restore into the not-so-empty 'alpha'.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, nickf@ontko.com, olly@lfix.co.uk
Subject: Re: pg_restore error: function plpgsql_call_handleralready exists with same argument types
In-Reply-To: <18199.1038415363@sss.pgh.pa.us>
References: <NEBBLAAHGLEEPCGOBHDGEEPMGDAA.nickf@ontko.com> <18199.1038415363@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox