Re: pg_restore remap schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore remap schema
Дата
Msg-id 1343019.1668611420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_restore remap schema  (Stéphane Tachoires <stephane.tachoires@gmail.com>)
Список pgsql-general
=?UTF-8?Q?St=C3=A9phane_Tachoires?= <stephane.tachoires@gmail.com> writes:
> And could it be at pg_dump level ?
> It seems more aware of what is doing...

pg_dump would be in a slightly better position, but only slightly.
It still has no idea about the contents of function bodies.

Also, if it's acceptable to do this at dump time, you could just
temporarily rename the schema on the server while making the dump.
(Not that that would fix function bodies either.)

            regards, tom lane



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

Предыдущее
От: Stéphane Tachoires
Дата:
Сообщение: Re: pg_restore remap schema
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: pg_restore remap schema