mirror of
https://github.com/postgres/postgres.git
synced 2026-01-27 21:43:08 +03:00
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
This commit is contained in:
@@ -57,6 +57,6 @@
|
||||
*/
|
||||
|
||||
/* yyyymmddN */
|
||||
#define CATALOG_VERSION_NO 202503111
|
||||
#define CATALOG_VERSION_NO 202503131
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1518,6 +1518,9 @@
|
||||
{ oid => '6163', descr => 'number of set bits',
|
||||
proname => 'bit_count', prorettype => 'int8', proargtypes => 'bytea',
|
||||
prosrc => 'bytea_bit_count' },
|
||||
{ oid => '8694', descr => 'reverse bytea',
|
||||
proname => 'reverse', prorettype => 'bytea', proargtypes => 'bytea',
|
||||
prosrc => 'bytea_reverse' },
|
||||
|
||||
{ oid => '725',
|
||||
proname => 'dist_pl', prorettype => 'float8', proargtypes => 'point line',
|
||||
|
||||
Reference in New Issue
Block a user