[Bizgres-general] Re: Code in bitmapxlog.c used? [was: A bitmap index access method is available]

Mark Kirkwood markir at paradise.net.nz
Mon Jan 9 00:35:45 GMT 2006


Jie Zhang wrote:
> On 1/7/06 9:01 PM, "Mark Kirkwood" <markir at paradise.net.nz> wrote:
> 
> 
>>The various routines in src/backend/access/bitmap/bitmapxlog.c don't
>>seem to be called anywhere, which confused me a little whilst reading -
>>and all the xlog related stuff seems to be in bitmaputil.c... is
>>bitmapxlog.c just old code, or am I missing something?
>>
> 
> 
> The routines in bitmapxlog.c are called during WAL replaying when the server
> starts up after unexpected crashes. The xlog-related routines in
> bitmaputil.c are called during the bitmap creation at times before calling
> WriteBuffer(). They are used to ensure bitmap index consistency.
> 

Doh! I missed that bitmap_undo() and bitmap_redo() get a mention in 
rmgr.c....

Cheers

Mark


More information about the Bizgres-general mailing list