Re: [PATCH] Add reverse(bytea)

2025-03-13 Thread Nathan Bossart
Committed. -- nathan

Re: [PATCH] Add reverse(bytea)

2025-03-11 Thread Nathan Bossart
Here is what I have staged for commit. The only differences from v1 are some very light edits. -- nathan >From aa0cc332c6fbadfa6f49ab072dd97c5c8d78fdf8 Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Tue, 11 Mar 2025 11:01:32 -0500 Subject: [PATCH v2 1/1] Add reverse() for bytea. This comm

Re: [PATCH] Add reverse(bytea)

2025-03-11 Thread Aleksander Alekseev
Nathan, Daniel, > > We already have array_reverse() and text_reverse(), so I see no strong > > reason against also having a bytea_reverse(). > > +1 I also considered adding reverse(bit) however to my knowledge there is no practical usage for it. -- Best regards, Aleksander Alekseev

Re: [PATCH] Add reverse(bytea)

2025-03-10 Thread Nathan Bossart
On Mon, Mar 10, 2025 at 10:40:01AM +0300, Aleksander Alekseev wrote: > The proposed patch adds reverse(bytea) function. We already have array_reverse() and text_reverse(), so I see no strong reason against also having a bytea_reverse(). -- nathan

Re: [PATCH] Add reverse(bytea)

2025-03-10 Thread Daniel Gustafsson
> On 10 Mar 2025, at 22:06, Nathan Bossart wrote: > > On Mon, Mar 10, 2025 at 10:40:01AM +0300, Aleksander Alekseev wrote: >> The proposed patch adds reverse(bytea) function. > > We already have array_reverse() and text_reverse(), so I see no strong > reason against also having a bytea_reverse()