| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump - foreign table - server name is not quoted |
| Дата | |
| Msg-id | 11056.1322499118@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | pg_dump - foreign table - server name is not quoted (Ronan Dunklau <rdunklau@gmail.com>) |
| Ответы |
Re: pg_dump - foreign table - server name is not quoted
|
| Список | pgsql-bugs |
Ronan Dunklau <rdunklau@gmail.com> writes:
> When dumping foreign tables, the server name is not properly quoted,
> which leads to unrestorable dumps.
Clearly a bug.
> Please look at the attached test case and the proposed patch.
I think this patch is not in keeping with typical coding practices in
pg_dump. Usually we prefer to retrieve names from the server as-is,
then apply fmtId() when printing them --- this is more flexible than
having possibly-pre-quoted names in pg_dump's internal state.
Will fix it the latter way. Thanks for the report!
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера