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

From Dean Rasheed
Subject Re: [PATCH] Add get_bytes() and set_bytes() functions
Date
Msg-id CAEZATCWNdy4LoWgYGbQSS5B5G1YOgSz+Ok4Ako2-aVP4PSk6Eg@mail.gmail.com
Whole thread Raw
In response to [PATCH] Add get_bytes() and set_bytes() functions  (Aleksander Alekseev <aleksander@timescale.com>)
Responses Re: [PATCH] Add get_bytes() and set_bytes() functions
List pgsql-hackers
On Mon, 13 Jan 2025 at 17:36, Aleksander Alekseev
<aleksander@timescale.com> wrote:
>
> Besides fixing opr_sanity test I corrected error messages:
>
> -ERROR:  bytea size 3 out of valid range, 0..2
> +ERROR:  bytea out of valid range, ''..'\xFFFF'
>

"smallint out of range", "integer out of range" and "bigint out of
range" would be more consistent with existing error messages.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: Virtual generated columns
Next
From: Masahiko Sawada
Date:
Subject: Re: Skip collecting decoded changes of already-aborted transactions