Re: Refactoring xlogutils.c - Mailing list pgsql-patches

From Teodor Sigaev
Subject Re: Refactoring xlogutils.c
Date
Msg-id 484EF92B.20609@sigaev.ru
Whole thread Raw
In response to Refactoring xlogutils.c  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Responses Re: Refactoring xlogutils.c  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
List 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@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: Minor pedantry for "help" text
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: Refactoring xlogutils.c