Re: format_datum debugging function

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
Subject: Re: format_datum debugging function
Date: 2024-08-12 11:32:42
Message-ID: CAJ7c6TO9CiAoGHYK=SMCTrXyoYAn4U=7c35QBgWwF9=H-3Bp=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message cca5507 2024-08-12 11:38:53 Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state
Previous Message Michail Nikolaev 2024-08-12 11:11:26 Re: [BUG?] check_exclusion_or_unique_constraint false negative