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: 484EF92B.20609@sigaev.ru (view raw or flat)
Thread:
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
                                                    WWW: http://www.sigaev.ru/

In response to

Responses

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-2014 The PostgreSQL Global Development Group