[PATCH] Refactor bytea_sortsupport(), take two

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] Refactor bytea_sortsupport(), take two
Date: 2025-07-02 15:59:02
Message-ID: CAJ7c6TP1bAbEhUJa6+rgceN6QJWMSsxhg1=mqfSN=Nb-n6DAKg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

This is a follow-up to b45242fd30ff [1]. Previously we separated
varlena.c into varlena.c and bytea.c. This patch makes
bytea_sortsupport() independent from varlena.c code as it was proposed
before [2][3]. The benefits of this change are summarized in the
commit message that I included to the patch.

As always, your feedback is most appreciated.

[1]: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=b45242fd30ff
[2]: https://postgr.es/m/1502394.1725398354@sss.pgh.pa.us
[3]: https://postgr.es/m/CAJ7c6TO3X88dGd8C4Tb-Eq2ZDPz%2B9mP%2BKOwdzK_82BEz_cMPZg%40mail.gmail.com

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v1-0001-Refactor-bytea_sortsupport.patch text/x-patch 11.3 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2025-07-02 16:15:32 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Previous Message Arseniy Mukhin 2025-07-02 15:43:50 Re: Cross-type index comparison support in contrib/btree_gin