diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-07-28 05:07:49 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-07-28 05:07:49 +0000 |
| commit | d2d7865b5b9b8f12e51165db6e70dfb5f10dd651 (patch) | |
| tree | 4f5f8eb95a8f824ac3483d3b7c547b454e526853 /src/include/utils/int8.h | |
| parent | b399b862eddd26c7d5102f13368456a149441533 (diff) | |
| download | postgresql-d2d7865b5b9b8f12e51165db6e70dfb5f10dd651.tar.gz | |
Add int2-vs-int8 comparison operators. These are now necessary because
the planner may try to generate them as a result of transitivity of the
existing int2-vs-int4 and int4-vs-int8 operators. In fact, it is now
necessary that mergejoinable cross-datatype operators form closed sets.
Add an opr_sanity regress test to detect missing operators.
Diffstat (limited to 'src/include/utils/int8.h')
| -rw-r--r-- | src/include/utils/int8.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/include/utils/int8.h b/src/include/utils/int8.h index 77dc6d7212..83791f281b 100644 --- a/src/include/utils/int8.h +++ b/src/include/utils/int8.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: int8.h,v 1.22 2000/06/13 07:35:30 tgl Exp $ + * $Id: int8.h,v 1.23 2000/07/28 05:07:44 tgl Exp $ * * NOTES * These data types are supported on all 64-bit architectures, and may @@ -51,6 +51,20 @@ extern Datum int48gt(PG_FUNCTION_ARGS); extern Datum int48le(PG_FUNCTION_ARGS); extern Datum int48ge(PG_FUNCTION_ARGS); +extern Datum int82eq(PG_FUNCTION_ARGS); +extern Datum int82ne(PG_FUNCTION_ARGS); +extern Datum int82lt(PG_FUNCTION_ARGS); +extern Datum int82gt(PG_FUNCTION_ARGS); +extern Datum int82le(PG_FUNCTION_ARGS); +extern Datum int82ge(PG_FUNCTION_ARGS); + +extern Datum int28eq(PG_FUNCTION_ARGS); +extern Datum int28ne(PG_FUNCTION_ARGS); +extern Datum int28lt(PG_FUNCTION_ARGS); +extern Datum int28gt(PG_FUNCTION_ARGS); +extern Datum int28le(PG_FUNCTION_ARGS); +extern Datum int28ge(PG_FUNCTION_ARGS); + extern Datum int8um(PG_FUNCTION_ARGS); extern Datum int8pl(PG_FUNCTION_ARGS); extern Datum int8mi(PG_FUNCTION_ARGS); |
