bug in pg_dump ALTER DATABASE

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема bug in pg_dump ALTER DATABASE
Дата
Msg-id 40E0E8DE.7010906@familyhealth.com.au
обсуждение исходный текст
Ответы Re: bug in pg_dump ALTER DATABASE  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: bug in pg_dump ALTER DATABASE  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
As part of my testing, I noticed this bug.  My database has a 
search_path set in the database vars.  It dumps lik ethis:

DROP DATABASE usa;
CREATE DATABASE usa WITH TEMPLATE = template0 OWNER = usadmin ENCODING = 
'LATIN1';
ALTER DATABASE usa SET search_path TO 'public, contrib';

Notice the single quotes around the TO bit?  That's completely broken. 
Those '' must not be there.

Is a fix for this required for only search_path, or is it a more general 
problem?

Chris



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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: client_min_messages in dumps?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in pg_dump ALTER DATABASE