Re: format_datum debugging function - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: format_datum debugging function
Date
Msg-id CAJ7c6TO9CiAoGHYK=SMCTrXyoYAn4U=7c35QBgWwF9=H-3Bp=w@mail.gmail.com
Whole thread Raw
In response to format_datum debugging function  (Paul Jungwirth <pj@illuminatedcomputing.com>)
Responses Re: format_datum debugging function
List pgsql-hackers
Hi Paul,

> [...] This function takes a Datum and the appropriate out function, and returns a char *. So you
> can do this:
>
> (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?

--
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: Michail Nikolaev
Date:
Subject: Re: [BUG?] check_exclusion_or_unique_constraint false negative
Next
From: "cca5507"
Date:
Subject: Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state