aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSubqueryscan.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2025-04-02 19:51:28 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2025-04-02 19:51:28 +0300
commite9e7b66044c9e3dfa76fd1599d5703acd3e4a3f5 (patch)
tree1fa6b61fa306e98cd33471b2e35e5aa439bbe075 /src/backend/executor/nodeSubqueryscan.c
parentea3f9b6da34a1a4dc2c0c118789587c2a85c78d7 (diff)
downloadpostgresql-e9e7b66044c9e3dfa76fd1599d5703acd3e4a3f5.tar.gz
postgresql-e9e7b66044c9e3dfa76fd1599d5703acd3e4a3f5.zip
Add GiST and btree sortsupport routines for range types
For GiST, having a sortsupport function allows building the index using the "sorted build" method, which is much faster. For b-tree, the sortsupport routine doesn't give any new functionality, but speeds up sorting a tiny bit. The difference is not very significant, about 2% in cursory testing on my laptop, because the range type comparison function has quite a lot of overhead from detoasting. In any case, since we have the function for GiST anyway, we might as well register it for the btree opfamily too. Author: Bernd Helmle <mailings@oopsware.de> Discussion: https://www.postgresql.org/message-id/64d324ce2a6d535d3f0f3baeeea7b25beff82ce4.camel@oopsware.de
Diffstat (limited to 'src/backend/executor/nodeSubqueryscan.c')
0 files changed, 0 insertions, 0 deletions