Add reverse(bytea).
Nathan Bossart <nathan@postgresql.org>
Add reverse(bytea). This commit introduces a function for reversing the order of the bytes in binary strings. Bumps catversion. Author: Aleksander Alekseev <aleksander@timescale.com> Discussion: https://postgr.es/m/CAJ7c6TMe0QVRuNssUArbMi0bJJK32%2BzNA3at5m3osrBQ25MHuw%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +17 −0 |
| src/backend/utils/adt/varlena.c | modified | +21 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +3 −0 |
| src/test/regress/expected/strings.out | modified | +18 −0 |
| src/test/regress/sql/strings.sql | modified | +4 −0 |
Documentation touched
Discussion
- [PATCH] Add reverse(bytea) 6 messages · 2025-03-10 → 2025-03-13