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

pgsql/src/backend/access/heap (heapam.c)

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/access/heap (heapam.c)
Date: 2001-01-07 22:14:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
  Date: Sunday, January  7, 2001 @ 17:14:31
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/access/heap

Modified Files:

-----------------------------  Log Message  -----------------------------

Correct nasty error in heap_update: it was releasing the buffer refcount
before calling RelationInvalidateHeapTuple(), which is bad because the
latter needs to look at the tuple data, which is in the shared disk
buffer.  If another backend manages to recycle the buffer while this
is going on, we will compute the wrong hashindex for the tuple or
maybe even crash outright.  Must hold buffer refcount until afterwards.
(This bug is not in 7.0.*; seems to be have introduced during WAL changes.)

pgsql-committers by date

Next:From: tglDate: 2001-01-08 00:31:44
Subject: pgsql/src/backend/nodes (outfuncs.c readfuncs.c)
Previous:From: tglDate: 2001-01-07 04:30:41
Subject: pgsql/src/backend/storage/ipc (ipc.c)

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