Re: pg_restore fails

Поиск
Список
Период
Сортировка
От Francisco Olarte
Тема Re: pg_restore fails
Дата
Msg-id CA+bJJby-mjGtw7KDLxS8cnLMwD6rdW38Hso59q_1vW3WUOUjvg@mail.gmail.com
обсуждение исходный текст
Ответ на pg_restore fails  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список pgsql-general
Hi Karsten..

On Sun, Mar 13, 2016 at 12:09 AM, Karsten Hilbert
<Karsten.Hilbert@gmx.net> wrote:
> I am trying to pg_restore from a directory dump.
> However, despite using
>
>         --clean
>         --create
>         --if-exists
>
> I am getting an error because schema PUBLIC already exists.
....snip, snip....

Have you tried the classic combo pg_restore -l > toc.dat,
your_favorite_editor toc.dat pg_restore -L toc.dat?

I've had great success with that in the past, even splitting the TOC
in several chunks to be able to make adjustements between them, but
I've never used the directory format for ( serious, I've tried all
when learning ) backups.

Francisco Olarte.


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

Предыдущее
От: Dane Foster
Дата:
Сообщение: Re: Full text search question: "01.Bez." --> "Erster Bezirk"
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: MongoDB 3.2 beating Postgres 9.5.1?