Re: pg_dump not dumping default_text_search_config WAI?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump not dumping default_text_search_config WAI?
Дата
Msg-id 1469920.1762621610@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump not dumping default_text_search_config WAI?  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: pg_dump not dumping default_text_search_config WAI?
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> I just got bitten by dumping and restoring a database to a new cluster,
> and the default_text_search_config was not copied for the database. 

> A check of the dump file shows no 'ALTER DATABASE' command. 

IIRC you'd need to use --create to prod pg_dump to produce
a CREATE DATABASE command as well as any database-level
ALTER commands.

            regards, tom lane



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