Re: Fast COPY after TRUNCATE bug and fix

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fast COPY after TRUNCATE bug and fix
Date: 2007-03-01 09:00:33
Message-ID: 1172739633.3760.1080.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Wed, 2007-02-28 at 21:09 -0500, Bruce Momjian wrote:
> Your patch has been added to the PostgreSQL unapplied patches list at:

> Simon Riggs wrote:
> > It's been pointed out to me that I introduced a bug as part of the
> > recent optimisation of COPY-after-truncate.
> >
> > The attached patch fixes this for me on CVS HEAD. It does this by making
> > an explicit request for relcache hint cleanup at EOXact and takes a more
> > cautious approach during RelationCacheInvalidate().

You understand that this fixes a bug in CVS HEAD?

It isn't a new feature.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message ITAGAKI Takahiro 2007-03-01 12:06:53 DSM WIP patch version 2
Previous Message Patric Bechtel 2007-03-01 06:03:28 Re: Numeric patch to add special-case representations for < 8 bytes