aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_gist.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-07-02 09:52:21 +0900
committerMichael Paquier <michael@paquier.xyz>2025-07-02 09:52:21 +0900
commitb45242fd30ffa6e1e7f490cc400ecbd966880f41 (patch)
treee2f430b01ce2b899d552a247eaaf5749041a7388 /contrib/btree_gist/btree_gist.c
parentbee23ea4ddc46198c95a4e73a83f453c09e04bf8 (diff)
downloadpostgresql-b45242fd30ffa6e1e7f490cc400ecbd966880f41.tar.gz
postgresql-b45242fd30ffa6e1e7f490cc400ecbd966880f41.zip
Move code for the bytea data type from varlena.c to new bytea.c
This commit moves all the routines related to the bytea data type into its own new file, called bytea.c, clearing some of the bloat in varlena.c. This includes the routines for: - Input, output, receive and send - Comparison - Casts to integer types - bytea-specific functions The internals of the routines moved here are unchanged, with one exception. This comes with a twist in bytea_string_agg_transfn(), where the call to makeStringAggState() is replaced by the internals of this routine, still located in varlena.c. This simplifies the move to the new file by not having to expose makeStringAggState(). Author: Aleksander Alekseev <aleksander@timescale.com> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/CAJ7c6TMPVPJ5DL447zDz5ydctB8OmuviURtSwd=PHCRFEPDEAQ@mail.gmail.com
Diffstat (limited to 'contrib/btree_gist/btree_gist.c')
0 files changed, 0 insertions, 0 deletions