Re: Feature: give pg_dump a WHERE clause expression

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: daveg <daveg(at)sonic(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Davy Durham <pubaddr5(at)davyandbeth(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Feature: give pg_dump a WHERE clause expression
Date: 2008-06-01 20:40:15
Message-ID: 4843092F.1030004@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

daveg wrote:

>> ISTM this would be better off waiting until we turn large parts of
>> pg_dump into a library, as has been often discussed, at which point it
>> should be relatively simple to write a custom client to do what the OP
>> wants. I agree that it does not at all belong in pg_dump.
>>
>
> I can't imagine many of my clients ever writing another C program or even
> being willing to pay me to do so. While modularizing pg_dump is a fine idea,
> I don't think it addresses the same set of use cases and users as this
> proposal.
>
>
>

It's not clear to me that your use case is very compelling. Does your
foreign database not support import via CSV or XML? Postgres can now
produce both of these for any arbitrary query.

cheers

andrew

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message daveg 2008-06-01 21:32:23 Re: Feature: give pg_dump a WHERE clause expression
Previous Message Davy Durham 2008-06-01 20:24:19 Re: Feature: give pg_dump a WHERE clause expression