summaryrefslogtreecommitdiff
path: root/src/include/access/gist.h
diff options
context:
space:
mode:
authorTom Lane2006-09-10 00:29:35 +0000
committerTom Lane2006-09-10 00:29:35 +0000
commitdc115af6b2f62126f93f8f7acc3ed02199203566 (patch)
treedca18aad219929be01832d9c868d80917b455964 /src/include/access/gist.h
parentd8358ff1ab65c94f532399649455edd14783a26d (diff)
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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h
index ec17862c42..2e05207738 100644
--- a/src/include/access/gist.h
+++ b/src/include/access/gist.h
@@ -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.