aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2022-07-27 08:27:29 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2022-07-27 08:27:29 +0300
commitcadfdd1edff103d696bbfcdd126c2dee516aed9b (patch)
tree91bfa8d01af61358657bc7eb288d21760f3d6098 /src/backend/commands/dbcommands.c
parentd47da3162b4d77c888c895dd36e4ef9cb92fcf19 (diff)
downloadpostgresql-cadfdd1edff103d696bbfcdd126c2dee516aed9b.tar.gz
postgresql-cadfdd1edff103d696bbfcdd126c2dee516aed9b.zip
Add new Tuplesortstate.removeabbrev function
This commit is the preparation to move abbreviation logic into puttuple_common(). The new removeabbrev function turns datum1 representation of SortTuple's from the abbreviated key to the first column value. Therefore, it encapsulates the differential part of abbreviation handling code in tuplesort_put*() functions, making these functions similar. Discussion: https://postgr.es/m/CAPpHfdvjix0Ahx-H3Jp1M2R%2B_74P-zKnGGygx4OWr%3DbUQ8BNdw%40mail.gmail.com Author: Alexander Korotkov Reviewed-by: Pavel Borisov, Maxim Orlov, Matthias van de Meent Reviewed-by: Andres Freund, John Naylor
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions