Re: [PATCHES] pg_dump feature patch to allow selection of rows to

2005-09-12 Thread Neil Conway
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

Re: [PATCHES] pg_dump feature patch to allow selection of rows to

2005-09-12 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: Seth Robertson wrote: 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,

[PATCHES] pg_dump feature patch to allow selection of rows to dump via where

2005-09-09 Thread Seth Robertson
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. Instead of writing a utility to replicate the functionality in pg_dump, I created a new flag, --where, which allows you to postpend