Re: format_datum debugging function

From: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: format_datum debugging function
Date: 2024-08-12 21:15:23
Message-ID: 463c034f-a1bb-4361-ada7-83e994d86bfb@illuminatedcomputing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/12/24 04:32, Aleksander Alekseev wrote:
>> [...] 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?

Sorry, patch attached here.

Yours,

--
Paul ~{:-)
pj(at)illuminatedcomputing(dot)com

Attachment Content-Type Size
v1-0001-Add-format_datum-debugging-function.patch text/x-patch 1.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2024-08-12 21:25:47 Re: [HACKERS] make async slave to wait for lsn to be replayed
Previous Message Heikki Linnakangas 2024-08-12 21:04:28 Re: Restart pg_usleep when interrupted