Re: pg_restore error: function plpgsql_call_handleralready exists with same argument types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore error: function plpgsql_call_handleralready exists with same argument types
Дата
Msg-id 18199.1038415363@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_restore error: function plpgsql_call_handleralready exists with same argument types  ("Nick Fankhauser" <nickf@ontko.com>)
Список pgsql-admin
"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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: CASCADE PB
Следующее
От: fred
Дата:
Сообщение: Re: CASCADE PB