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
> 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.
In response to
pgsql-patches by date
|Next:||From: Neil Conway||Date: 2005-09-12 18:52:28|
|Subject: Re: SPI_getbinval() documentation correction|
|Previous:||From: Neil Conway||Date: 2005-09-12 18:23:22|
|Subject: Re: [PATCHES] Clarifying Autovacuum docs in the release notes|