Sunday, June 1, 2008

Re: [PATCHES] Feature: give pg_dump a WHERE clause expression

Davy Durham <pubaddr5@davyandbeth.com> writes:
> I have added a new parameter, -w/--where=EXPR
> This lets you specify an expression that will be used in a WHERE
> clause when the data is dumped.

This seems pretty poorly thought out. It can hardly work in a dump
of more than one table, which means that there's not any real reason
to use pg_dump at all. Just do a COPY (SELECT ...) TO somefile.

regards, tom lane

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

No comments: