diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-10 00:29:35 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-10 00:29:35 +0000 |
commit | ba920e1c9182eac55d5f1327ab0d29b721154277 (patch) | |
tree | 89ae3bed618c49a1a6f103dbaf81398cdf6949e3 /src/include/access/gist.h | |
parent | 9cea5a82f81fd3347f36a00457b2560a050f3075 (diff) | |
download | postgresql-ba920e1c9182eac55d5f1327ab0d29b721154277.tar.gz postgresql-ba920e1c9182eac55d5f1327ab0d29b721154277.zip |
Rename contains/contained-by operators to @> and <@, per discussion that
agreed these symbols are less easily confused. I made new pg_operator
entries (with new OIDs) for the old names, so as to provide backward
compatibility while making it pretty easy to remove the old names in
some future release cycle. This commit only touches the core datatypes,
contrib will be fixed separately.
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r-- | src/include/access/gist.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index 55d7634a73d..1b3c042e955 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/gist.h,v 1.54 2006/06/28 12:00:14 teodor Exp $ + * $PostgreSQL: pgsql/src/include/access/gist.h,v 1.55 2006/09/10 00:29:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -44,12 +44,14 @@ #define RTOverRightStrategyNumber 4 #define RTRightStrategyNumber 5 #define RTSameStrategyNumber 6 -#define RTContainsStrategyNumber 7 -#define RTContainedByStrategyNumber 8 +#define RTContainsStrategyNumber 7 /* for @> */ +#define RTContainedByStrategyNumber 8 /* for <@ */ #define RTOverBelowStrategyNumber 9 #define RTBelowStrategyNumber 10 #define RTAboveStrategyNumber 11 #define RTOverAboveStrategyNumber 12 +#define RTOldContainsStrategyNumber 13 /* for old spelling of @> */ +#define RTOldContainedByStrategyNumber 14 /* for old spelling of <@ */ /* * Page opaque data in a GiST index page. |