Re: [HACKERS] COPY with no WAL, in certain circumstances - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] COPY with no WAL, in certain circumstances
Date
Msg-id 13252.1168190046@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] COPY with no WAL, in certain circumstances  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-patches
"Simon Riggs" <simon@2ndquadrant.com> writes:
> There is no failure condition where the rows continue to exist
> on disk && the table relfilenode shows a committed transaction pointing
> to the file containing the marked-valid-but-actually-not rows.

What of

BEGIN;
    CREATE TABLE foo ...;
    SAVEPOINT x;
        COPY foo FROM ...;
    ROLLBACK TO x;
COMMIT;

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] SGML index build fix
Next
From: Magnus Hagander
Date:
Subject: Re: Need help using the Patch to fix bug #2558