pg_dump --where option

Поиск
Список
Период
Сортировка
От Surafel Temesgen
Тема pg_dump --where option
Дата
Msg-id CALAY4q8o00Sg5nemi2AuqNuLvmGLaR6br+YrvM41ZuSPjM2Qvg@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_dump --where option  (Cary Huang <cary.huang@highgo.ca>)
Список pgsql-hackers

Internally pg_dump have capability to filter the table data to dump by same filter clause but it have no interface to use it and the patch here [1] adds interface to it but it have at-least two issue, one is error message in case of incorrect where clause specification is somehow hard to debug and strange to pg_dump .Other issue is it applies the same filter clause to multiple tables if pattern matching return multiple tables and it seems undesired behavior to me because mostly we don’t want to applied the same where clause specification to multiple table. The attached patch contain a fix for both issue

[1].https://www.postgresql.org/message-id/flat/CAGiT_HNav5B=OfCdfyFoqTa+oe5W1vG=PXkTETCxXg4kcUTktA@mail.gmail.com


regards

Surafel

Вложения

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: language cleanups in code and docs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: tar-related code in PostgreSQL