pg_dumpall outputs incorrect sql

Поиск
Список
Период
Сортировка
От David Mitchell
Тема pg_dumpall outputs incorrect sql
Дата
Msg-id 4121466F.207@telogis.com
обсуждение исходный текст
Ответы Re: pg_dumpall outputs incorrect sql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I have a database in which there is a user and their search path is set to:

dbmirror, public, pg_catalog

pg_dumpall includes this line in the dump:

ALTER USER dbmirror SET search_path TO 'dbmirror, public, pg_catalog';

This isn't correct though, because when it is run through psql to load
the user, I get the following:

psql:globals.dump:17: ERROR:  schema "dbmirror, public, pg_catalog" does
not exist

However, if I take the quotes off the search_path it works perfectly. Is
there something I'm not doing right or is this a bug?

I'm using Postgres 7.4.3

Regards
--
David Mitchell
Software Engineer
Telogis

NOTICE:
This message (including any attachments) contains CONFIDENTIAL
INFORMATION intended for a specific individual and purpose, and
is protected by law.  If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited.

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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: Pgsql 7.3/7.4/8.0 on IA64 HP-UX 11i?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Pgsql 7.3/7.4/8.0 on IA64 HP-UX 11i?