From af5ced9cfdb1aefd5e64af405d7e582c99a55106 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 29 Jun 2001 21:08:25 +0000 Subject: Further work on connecting the free space map (which is still just a stub) into the rest of the system. Adopt a cleaner approach to preventing deadlock in concurrent heap_updates: allow RelationGetBufferForTuple to select any page of the rel, and put the onus on it to lock both buffers in a consistent order. Remove no-longer-needed isExtend hack from API of ReleaseAndReadBuffer. --- src/include/access/hio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/access/hio.h') diff --git a/src/include/access/hio.h b/src/include/access/hio.h index 8c50a128a20..da4114c0d00 100644 --- a/src/include/access/hio.h +++ b/src/include/access/hio.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: hio.h,v 1.18 2001/05/16 22:35:12 tgl Exp $ + * $Id: hio.h,v 1.19 2001/06/29 21:08:25 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -19,6 +19,6 @@ extern void RelationPutHeapTuple(Relation relation, Buffer buffer, HeapTuple tuple); extern Buffer RelationGetBufferForTuple(Relation relation, Size len, - BlockNumber minblocknum); + Buffer otherBuffer); #endif /* HIO_H */ -- cgit v1.2.3