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
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,
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