Re: [PATCH] Add get_bytes() and set_bytes() functions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Add get_bytes() and set_bytes() functions
Date
Msg-id 9b248b02-afdd-42e6-a38f-38f2fc15370d@eisentraut.org
Whole thread Raw
In response to Re: [PATCH] Add get_bytes() and set_bytes() functions  (Aleksander Alekseev <aleksander@timescale.com>)
List pgsql-hackers
On 19.08.24 16:10, Aleksander Alekseev wrote:
> To clarify, supporting bytea<->integer (and/or bytea<->numeric) casts
> doesn't strike me as a terrible idea but it doesn't address the issue
> I'm proposing to solve.

What is the issue you are proposing to solve?

You linked to a couple of threads and stackoverflow pages, and you 
concluded from that that we should add get_bytes() and set_bytes() 
functions.  It's not obvious how you get from the former to the latter, 
and I don't think the functions you propose are well-designed in isolation.




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Partial aggregates pushdown
Next
From: Robert Haas
Date:
Subject: Re: optimize hashjoin