Re: Feature: give pg_dump a WHERE clause expression

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Davy Durham <pubaddr5(at)davyandbeth(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Feature: give pg_dump a WHERE clause expression
Date: 2008-06-01 14:43:18
Message-ID: 20097.1212331398@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Davy Durham <pubaddr5(at)davyandbeth(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-06-01 14:43:21 Re: partial header cleanup
Previous Message Davy Durham 2008-06-01 05:56:53 Feature: give pg_dump a WHERE clause expression