diff options
Diffstat (limited to 'src/include/utils/datum.h')
-rw-r--r-- | src/include/utils/datum.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/utils/datum.h b/src/include/utils/datum.h index 7b913578ab6..4365bf06e6a 100644 --- a/src/include/utils/datum.h +++ b/src/include/utils/datum.h @@ -47,6 +47,15 @@ extern bool datumIsEqual(Datum value1, Datum value2, bool typByVal, int typLen); /* + * datum_image_eq + * + * Compares two datums for identical contents, based on byte images. Return + * true if the two datums are equal, false otherwise. + */ +extern bool datum_image_eq(Datum value1, Datum value2, + bool typByVal, int typLen); + +/* * Serialize and restore datums so that we can transfer them to parallel * workers. */ |