| От | Neil Conway |
|---|---|
| Тема | Re: pg_dump feature patch to allow selection of rows to |
| Дата | |
| Msg-id | 4325C8FF.3000301@samurai.com обсуждение исходный текст |
| Ответ на | pg_dump feature patch to allow selection of rows to dump via where (Seth Robertson <in-postgres@baka.org>) |
| Ответы |
Re: pg_dump feature patch to allow selection of rows to
|
| Список | pgsql-patches |
Seth Robertson wrote: > In order to support some automation, I needed the ability to pull out > subsets of postgres tables in a format which could be loaded into > other postgres databases. One alternative would be using CREATE TABLE AS to create a separate table containing the desired subset, and then using pg_dump to dump that table. > Instead of writing a utility to replicate the functionality in > pg_dump, I created a new flag, --where, which allows you to postpend > where (or order or limit or whatever) sql fragments at the end of the > select done by pg_dump. Neat, but IMHO too much of a kludge for mainline. -Neil
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера