Re: format_datum debugging function - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: format_datum debugging function
Date
Msg-id CAGECzQQhtGsQSkBKGX7JC2QS7woVPM=PcOTO2yC49rOZFah1NA@mail.gmail.com
Whole thread Raw
In response to Re: format_datum debugging function  (Paul Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-hackers
On Mon, 12 Aug 2024 at 23:15, Paul Jungwirth
<pj@illuminatedcomputing.com> wrote:
> On 8/12/24 04:32, Aleksander Alekseev wrote:
> >> (gdb) call format_datum(range_out, $1)
> >> $2 = 0x59162692d938 "[1,4)"
> >>
> >> I assume a patch like this doesn't need documentation. Does it need a test? Anything else?
> >
> > I think you forgot to attach the patch. Or is it just a proposal?
>
> Sorry, patch attached here.

+1 for the idea. And the code looks trivial enough. I think this
should also contain a print_datum function too though.



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: Returning from a rule with extended query protocol
Next
From: Masahiko Sawada
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation