From 4523e0b63ae31c208eb91994484169dc8da86a85 Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Wed, 29 Jun 2005 14:06:14 +0000 Subject: Cleanup, remove unneeded pallocs --- src/backend/access/gist/gist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/access/gist/gist.c') diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 6643ae6131..2e75225253 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gist/gist.c,v 1.123 2005/06/28 15:51:00 teodor Exp $ + * $PostgreSQL: pgsql/src/backend/access/gist/gist.c,v 1.124 2005/06/29 14:06:14 teodor Exp $ * *------------------------------------------------------------------------- */ @@ -362,6 +362,7 @@ gistplacetopage(GISTInsertState *state, GISTSTATE *giststate) { Page page = (Page)BufferGetPage(ptr->buffer); GistPageGetOpaque(page)->rightlink = ( ptr->next ) ? ptr->next->block.blkno : InvalidBlockNumber; + GistPageGetOpaque(page)->nsn = PageGetLSN(page); LockBuffer( ptr->buffer, GIST_UNLOCK ); WriteBuffer(ptr->buffer); ptr=ptr->next; -- cgit v1.2.1