Re: pg_restore problem

Поиск
Список
Период
Сортировка
От Jules Alberts
Тема Re: pg_restore problem
Дата
Msg-id 200208141004.g7EA48uL012581@artemis.cuci.nl
обсуждение исходный текст
Ответ на pg_restore problem  ("Jules Alberts" <jules.alberts@arbodienst-limburg.nl>)
Ответы Re: pg_restore problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
On 14 Aug 2002 at 11:49, Jules Alberts wrote:
> Hello world,
>
> (PostgreSQL 7.2.1-5, fully patched RedHat 7.3)
>
> I have a db with some relations on OIDs and some BLOBs. I create a
> backup with this command:
>
>  pg_dump -Fc -o -b mydb > mydb.dump
>
> But a restore with:

BTW in between I do a dropdb mydb

>  pg_restore -dmydb -Fc mydb.dump
>
> Gives this error:
>
>  CREATE DATABASE
>  pg_restore: connecting to database for restore
>  pg_restore: executing <Init> Max OID
>  pg_restore: creating FUNCTION "plpgsql_call_handler" ()
>  pg_restore: [archiver (db)] could not execute query: ERROR:  function
>  plpgsql_call_handler already exists with same argument types
>  pg_restore: *** aborted because of error
>
> Am I doing something wrong? TIA!

--
Jules Alberts.

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

Предыдущее
От: "Jules Alberts"
Дата:
Сообщение: pg_restore problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: disappearing tables