pg_dump - foreign table - server name is not quoted

Поиск
Список
Период
Сортировка
От Ronan Dunklau
Тема pg_dump - foreign table - server name is not quoted
Дата
Msg-id 4ED38CE3.5060503@gmail.com
обсуждение исходный текст
Ответы Re: pg_dump - foreign table - server name is not quoted  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hello.

I noticed what I think is a bug in pg_dump.

When dumping foreign tables, the server name is not properly quoted,
which leads to unrestorable dumps.

eg, a foreign table attached to a foreign server named "file-test" is
dumped as:

CREATE FOREIGN TABLE "test-table" (
    col1 integer
)
SERVER file-test
OPTIONS (filename '/tmp/test');


Please look at the attached test case and the proposed patch.

Thank you.

--
Ronan Dunklau

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: BUG #6307: intarray extention gin index does not work with Hot standby
Следующее
От: "Thomas Goerner"
Дата:
Сообщение: Re: BUG #6308: Problem w. encoding in client