Add reverse(bytea).
authorNathan Bossart <nathan@postgresql.org>
Thu, 13 Mar 2025 16:20:53 +0000 (11:20 -0500)
committerNathan Bossart <nathan@postgresql.org>
Thu, 13 Mar 2025 16:20:53 +0000 (11:20 -0500)
commit0697b23906adabccba41fa7bf19909eb98bdf0dd
tree5e28e71b6fced7c1b4fc6a9fc2cf33b68923f1e9
parentbb25276205b45b60b5a1ddb7db3b66f501a02164
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
doc/src/sgml/func.sgml
src/backend/utils/adt/varlena.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat
src/test/regress/expected/strings.out
src/test/regress/sql/strings.sql