[PATCH] Add reverse(bytea)

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Add reverse(bytea)
Date: 2025-03-10 07:40:01
Message-ID: CAJ7c6TMe0QVRuNssUArbMi0bJJK32+zNA3at5m3osrBQ25MHuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

The proposed patch adds reverse(bytea) function.

This allows converting between big-endian and little-endian binary
strings, which works nicely with previous commits [1] and [2].

[1]: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=760162fedb4f
[2]: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=6da469badaff

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v1-0001-Add-reverse-bytea-function.patch application/octet-stream 4.4 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2025-03-10 07:46:13 Re: Parallel heap vacuum
Previous Message Shubham Khanna 2025-03-10 07:09:04 Re: Enhance 'pg_createsubscriber' to retrieve databases automatically when no database is provided.