Make description of heap records more talkative for flags

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Make description of heap records more talkative for flags
Date: 2018-04-13 03:47:34
Message-ID: 20180413034734.GE1552@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
heapdesc-flags.patch text/x-diff 3.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-04-13 03:49:03 Re: Make description of heap records more talkative for flags
Previous Message amul sul 2018-04-13 03:45:55 Re: wal_consistency_checking reports an inconsistency on master branch