summaryrefslogtreecommitdiff
path: root/contrib/cube/README.cube
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cube/README.cube')
-rw-r--r--contrib/cube/README.cube10
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/cube/README.cube b/contrib/cube/README.cube
index bc28c6ec31..e83763f68e 100644
--- a/contrib/cube/README.cube
+++ b/contrib/cube/README.cube
@@ -201,14 +201,20 @@ a && b Overlaps
The cubements a and b overlap.
-a @ b Contains
+a @> b Contains
The cubement a contains the cubement b.
-a ~ b Contained in
+a <@ b Contained in
The cubement a is contained in b.
+(Before PostgreSQL 8.2, the containment operators @> and <@ were
+respectively called @ and ~. These names are still available, but are
+deprecated and will eventually be retired. Notice that the old names
+are reversed from the convention formerly followed by the core geometric
+datatypes!)
+
Although the mnemonics of the following operators is questionable, I
preserved them to maintain visual consistency with other geometric
data types defined in Postgres.