Skip site navigation (1) Skip section navigation (2)

Re: xlogdump fixups and WAL log question.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
Cc: "Theo Schlossnagle" <jesus(at)omniti(dot)com>, "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org, "Diogo Biazus" <diogob(at)gmail(dot)com>
Subject: Re: xlogdump fixups and WAL log question.
Date: 2006-10-21 23:24:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
"Simon Riggs" <simon(at)2ndquadrant(dot)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

	truncate foo;
	copy foo from ...

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

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Gregory MaxwellDate: 2006-10-22 02:22:10
Subject: Re: New CRC algorithm: Slicing by 8
Previous:From: Tom LaneDate: 2006-10-21 23:21:06
Subject: Re: [COMMITTERS] pgsql: Fix up some problems in handling of zic-style time zone names in

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group