aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2020-03-30 15:52:39 -0700
committerPeter Geoghegan <pg@bowt.ie>2020-03-30 15:52:39 -0700
commit7c2dbc691c3e19b7d33c78f6c8aacc6e0cab510b (patch)
treed1bb48191eb8bcfc3192ac3ab41073506111953f /src/backend/utils/adt/jsonfuncs.c
parentd4b34f60c54904bb3647911dfd9d79d8a4fab430 (diff)
downloadpostgresql-7c2dbc691c3e19b7d33c78f6c8aacc6e0cab510b.tar.gz
postgresql-7c2dbc691c3e19b7d33c78f6c8aacc6e0cab510b.zip
Refactor nbtree high key truncation.
Simplify _bt_truncate(), the routine that generates truncated leaf page high keys. Remove a micro-optimization that avoided a second palloc0() call (this was used when a heap TID was needed in the final pivot tuple, though only when the index happened to not be an INCLUDE index). Removing this dubious micro-optimization allows _bt_truncate() to use the index_truncate_tuple() indextuple.c utility routine in all cases. This was already the common case. This commit is a HEAD-only follow up to bugfix commit 4b42a899.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions