Re: Refactoring xlogutils.c

Teodor Sigaev <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.patches
Message-ID <[email protected]>
> - 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: [email protected]
                                                    WWW: http://www.sigaev.ru/

-- 
Sent via pgsql-patches mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.