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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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