Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group