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

Re: Refactoring xlogutils.c

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Refactoring xlogutils.c
Date: 2008-06-10 21:59:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
> - For the routines that need a fake, or lightweight, Relation struct 
> anyway, there's a new function called 
> XLogFakeRelcacheEntry(RelFileNode), that returns a palloc'd Relation 
> struct.

Is that fake structure applicable for ReadBuffer()?
ginContinueSplit() calls findParents() with a fake Relation struct, and 
findParents will call ReadBuffer()...
GiST's function gistContinueInsert() is working by similar way.
Teodor Sigaev                                   E-mail: teodor(at)sigaev(dot)ru

In response to


pgsql-patches by date

Next:From: Heikki LinnakangasDate: 2008-06-11 06:08:48
Subject: Re: Refactoring xlogutils.c
Previous:From: Neil ConwayDate: 2008-06-10 20:58:32
Subject: Re: Minor pedantry for "help" text

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