View Single Post

   
  #3 (permalink)  
Old 04-18-2008, 10:38 AM
Simon Riggs
 
Posts: n/a
Default Re: Fast COPY after TRUNCATE bug and fix

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



---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote