Re: Remove xmin and cmin from frozen tuples - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Remove xmin and cmin from frozen tuples
Date
Msg-id 18155.1125695889@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remove xmin and cmin from frozen tuples  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Remove xmin and cmin from frozen tuples
Re: Remove xmin and cmin from frozen tuples
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Updated TODO:

>         o Allow COPY on a newly-created table to skip WAL logging

>           On crash recovery, the table involved in the COPY would
>           have its heap and index files truncated.  One issue is
>           that no other backend should be able to add to the table
>           at the same time, which is something that is currently
>           allowed.

This is simply wrong.  (1) a table created in the current transaction
isn't visible to anyone else, (2) the correct rollback state is for
it not to be there, rather than be there and empty.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Remove xmin and cmin from frozen tuples
Next
From: Tom Lane
Date:
Subject: Re: Remove xmin and cmin from frozen tuples