Re: pg_upgrade

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_upgrade
Дата
Msg-id 2267.1552919581@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_upgrade  (Tomasz Szypowski <tomasz.szypowski@gmail.com>)
Ответы Re: pg_upgrade
Список pgsql-bugs
Tomasz Szypowski <tomasz.szypowski@gmail.com> writes:
> while using pg_upgrade I receive an error:

> pg_restore: dropping DATABASE template1
> pg_restore: [archiver (db)] Error while PROCESSING TOC:
> pg_restore: [archiver (db)] Error from TOC entry 1955; 1262 1 DATABASE
> template1 postgres
> pg_restore: [archiver (db)] could not execute query: ERROR:  cannot drop a
> template database
>     Command was: DROP DATABASE "template1";

Hmmm ... I could believe this would happen if you've removed the
is_template marking from template1 in the source installation.

That doesn't seem like a terribly good idea though, so I'm not
inclined to try to figure a way for pg_dump to work around it.

            regards, tom lane


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