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

From Andres Freund
Subject Re: Make description of heap records more talkative for flags
Date
Msg-id 20180413034903.36tfc55dtael3amr@alap3.anarazel.de
Whole thread Raw
In response to Make description of heap records more talkative for flags  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Make description of heap records more talkative for flags  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 2018-04-13 12:47:34 +0900, Michael Paquier wrote:
> 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.)

OTOH, that also kinda bloats the output noticeably... I'm somewhat
inclined to just put the hex value or such there?

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Make description of heap records more talkative for flags
Next
From: Michael Paquier
Date:
Subject: Re: Make description of heap records more talkative for flags