diff options
Diffstat (limited to 'src/include/utils/datum.h')
-rw-r--r-- | src/include/utils/datum.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/include/utils/datum.h b/src/include/utils/datum.h index 009141e9cba..5409c8ddfe3 100644 --- a/src/include/utils/datum.h +++ b/src/include/utils/datum.h @@ -1,17 +1,17 @@ /*------------------------------------------------------------------------- * * datum.h-- - * POSTGRES abstract data type datum representation definitions. + * POSTGRES abstract data type datum representation definitions. * * * Copyright (c) 1994, Regents of the University of California * - * $Id: datum.h,v 1.2 1996/10/31 09:51:11 scrappy Exp $ + * $Id: datum.h,v 1.3 1997/09/07 05:02:17 momjian Exp $ * *------------------------------------------------------------------------- */ -#ifndef DATUM_H -#define DATUM_H +#ifndef DATUM_H +#define DATUM_H /*-------------------------------------------------------- @@ -38,26 +38,27 @@ * datumGetSize * find the "real" length of a datum */ -extern Size datumGetSize(Datum value, Oid type, bool byVal, Size len); +extern Size datumGetSize(Datum value, Oid type, bool byVal, Size len); /*--------------- * datumCopy * make a copy of a datum. */ -extern Datum datumCopy(Datum value, Oid type, bool byVal, Size len); +extern Datum datumCopy(Datum value, Oid type, bool byVal, Size len); /*--------------- * datumFree * free space that *might* have been palloced by "datumCopy" */ -extern void datumFree(Datum value, Oid type, bool byVal, Size len); +extern void datumFree(Datum value, Oid type, bool byVal, Size len); /*--------------- * datumIsEqual * return true if thwo datums are equal, false otherwise. * XXX : See comments in the code for restrictions! */ -extern bool datumIsEqual(Datum value1, Datum value2, Oid type, +extern bool +datumIsEqual(Datum value1, Datum value2, Oid type, bool byVal, Size len); -#endif /* DATUM_H */ +#endif /* DATUM_H */ |