Re: format_datum debugging function - Mailing list pgsql-hackers

From Paul Jungwirth
Subject Re: format_datum debugging function
Date
Msg-id 463c034f-a1bb-4361-ada7-83e994d86bfb@illuminatedcomputing.com
Whole thread Raw
In response to Re: format_datum debugging function  (Aleksander Alekseev <aleksander@timescale.com>)
Responses Re: format_datum debugging function
Re: format_datum debugging function
List 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@illuminatedcomputing.com
Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Restart pg_usleep when interrupted
Next
From: Alexander Korotkov
Date:
Subject: Re: [HACKERS] make async slave to wait for lsn to be replayed