Re: xlogdump fixups and WAL log question. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: xlogdump fixups and WAL log question.
Date
Msg-id 28850.1161473069@sss.pgh.pa.us
Whole thread Raw
In response to Re: xlogdump fixups and WAL log question.  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: xlogdump fixups and WAL log question.
List pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> But they can be re-created anew with the same name each time? Or I guess
> not, but you redefine a view every 30 minutes to point to the latest
> one?

> If so, then I have a patch that will speed up COPY when in the same
> transaction as the table that created it. I've finally fixed a bug in my
> earlier prototypes that seems to make that work now, in all cases.

Can you make the patch cover the case of
begin;truncate foo;copy foo from ...commit;

It might be infeasible to detect this case, but if it's not ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Fix up some problems in handling of zic-style time zone names in
Next
From: Tom Lane
Date:
Subject: Re: New CRC algorithm: Slicing by 8