Re: pg_dump not dumping default_text_search_config WAI? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump not dumping default_text_search_config WAI?
Date
Msg-id 1469920.1762621610@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump not dumping default_text_search_config WAI?  (Philip Warner <pjw@rhyme.com.au>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Use bsearch() instead of a manual binary search in syscache.c