Re: search_path when restoring to new db

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: search_path when restoring to new db
Дата
Msg-id 12773.1165853207@sss.pgh.pa.us
обсуждение исходный текст
Ответ на search_path when restoring to new db  ("SunWuKung" <Balazs.Klein@t-online.hu>)
Ответы Re: search_path when restoring to new db  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-general
"SunWuKung" <Balazs.Klein@t-online.hu> writes:
> It seems to me that if I dump and restore a database as a new db I need
> to manually issue
> ALTER DATABASE dbname SET search_path=schema1, schema2;
> to get back the search_path of the original db.

ALTER DATABASE and ALTER USER commands are handled by pg_dumpall, not
pg_dump.

            regards, tom lane

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

Предыдущее
От: "Yonatan Ben-Nes"
Дата:
Сообщение: Numeric or Integer for monetary values?
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Creating multiple Rules for on update