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: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Feature: give pg_dump a WHERE clause expression
Date: 2008-06-02 04:22:26
Message-ID: 2536.1212380546@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:
> On Sun, 2008-06-01 at 22:19 -0400, Stephen Frost wrote:
>> or so. I suppose it might be interesting to consider an 'insert-format'
>> output for COPY, which pg_dump could possibly be refactored to use when
>> requested.

> And sure.. pg_dump could then be simplified a bit by using this.

Not really. pg_dump has to support old server versions, so you won't
get any meaningful simplification by moving functionality out of pg_dump
into the backend; at least not before you've forgotten having made the
change :-(

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Davy Durham 2008-06-02 05:38:04 Feature: pg_dump: ability to specify WHERE clause expression for -t/--table option
Previous Message Davy Durham 2008-06-02 04:10:29 Re: Feature: give pg_dump a WHERE clause expression