diff options
author | Peter Geoghegan <pg@bowt.ie> | 2019-11-12 11:25:34 -0800 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2019-11-12 11:25:34 -0800 |
commit | 8c951687f58ad604be13e6addfd56446afb36e13 (patch) | |
tree | 177f5e189694cb20841f47fbf3c7d0be508c54b3 /src/backend/commands/trigger.c | |
parent | 7a0574b50ee9c2b96ce94c29e031c103285c0b1d (diff) | |
download | postgresql-8c951687f58ad604be13e6addfd56446afb36e13.tar.gz postgresql-8c951687f58ad604be13e6addfd56446afb36e13.zip |
Teach datum_image_eq() about cstring datums.
Bring datum_image_eq() in line with datumIsEqual() by adding support for
comparing cstring datums.
An upcoming patch that adds deduplication to the nbtree AM will use
datum_image_eq(). datum_image_eq() will need to work with all datatypes
that can be used as the storage type of a B-Tree index column, including
cstring. (cstring is used as the storage type for columns of type
"name" as a space-saving optimization.)
Discussion: https://postgr.es/m/CAH2-Wzn3Ee49Gmxb7V1VJ3-AC8fWn-Fr8pfWQebHe8rYRxt5OQ@mail.gmail.com
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions