Make description of heap records more talkative for flags - Mailing list pgsql-hackers

From Michael Paquier
Subject Make description of heap records more talkative for flags
Date
Msg-id 20180413034734.GE1552@paquier.xyz
Whole thread Raw
Responses Re: Make description of heap records more talkative for flags  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi all,

I was just playing with the WAL consistency issue with rows moved across
partitions when I noticed that heapdesc.c is not really talkative about
the different flag records set.

What about something like the patch attached?  I found that useful for
debugging.

(One comment of heapam_xlog.h mentions xl_heap_delete instead of
xl_heap_truncate, noticed it on the way.)

Thanks,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: amul sul
Date:
Subject: Re: wal_consistency_checking reports an inconsistency on master branch
Next
From: Andres Freund
Date:
Subject: Re: Make description of heap records more talkative for flags