| От | Tom Lane |
|---|---|
| Тема | Re: Feature: give pg_dump a WHERE clause expression |
| Дата | |
| Msg-id | 1077.1212374854@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Feature: give pg_dump a WHERE clause expression (Davy Durham <pubaddr5@davyandbeth.com>) |
| Список | pgsql-patches |
Davy Durham <pubaddr5@davyandbeth.com> writes:
> To reiterate, it is not possible to use the COPY command to create
> standard SQL INSERT statements that can be conveniently loaded by
> another db. No?
Fair point, but the question here is about how useful this incremental
feature really is compared to its incremental maintenance cost.
It is *possible* to achieve what you want without any pg_dump
changes: create a fresh table via
CREATE TABLE tmp_table AS SELECT * FROM my_table WHERE ...
and then pg_dump that. So the issue is how often does this problem
come up and is it worth maintaining more code to make it a bit
easier to deal with? My thought is probably not, and that seems
to be the majority opinion so far.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера