Re: Feature: give pg_dump a WHERE clause expression

From: Davy Durham <pubaddr5(at)davyandbeth(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Feature: give pg_dump a WHERE clause expression
Date: 2008-06-02 02:05:32
Message-ID: 1212372332.17810.97.camel@ubuntu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Sun, 2008-06-01 at 22:02 -0400, Stephen Frost wrote:
> * Davy Durham (pubaddr5(at)davyandbeth(dot)com) wrote:
> > To reiterate, it is not possible to use the COPY command to create
> > standard SQL INSERT statements that can be conveniently loaded by
> > another db. No?
>
> Erm, thankfully, PostgreSQL (what you're loading the data into?) can
> take more than just SQL INSERT statements.
>

No, the database I'm loading into is not PostgreSQL, but that's okay. I
think that was someone else.

> Of course, on the other hand, you *could* use COPY to create SQL INSERT
> statements through an appropriately crafted query. PG makes that
> reasonably straight-forward, actually.
>
> Stephen

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Stephen Frost 2008-06-02 02:19:37 Re: Feature: give pg_dump a WHERE clause expression
Previous Message Stephen Frost 2008-06-02 02:02:24 Re: Feature: give pg_dump a WHERE clause expression