Re: Make description of heap records more talkative for flags

From: Andres Freund <andres(at)anarazel(dot)de>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make description of heap records more talkative for flags
Date: 2018-04-13 03:49:03
Message-ID: 20180413034903.36tfc55dtael3amr@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-04-13 04:01:37 Re: Make description of heap records more talkative for flags
Previous Message Michael Paquier 2018-04-13 03:47:34 Make description of heap records more talkative for flags