diff options
author | Tom Lane | 2006-09-10 17:36:52 +0000 |
---|---|---|
committer | Tom Lane | 2006-09-10 17:36:52 +0000 |
commit | 684ad6a92fcc33adebdab65c4e7d72a68ba05408 (patch) | |
tree | 4cd0fc427b2100214e18452cc528e1b2e2d150fb /contrib/cube/README.cube | |
parent | ba920e1c9182eac55d5f1327ab0d29b721154277 (diff) |
Rename contrib contains/contained-by operators to @> and <@, per discussion.
Diffstat (limited to 'contrib/cube/README.cube')
-rw-r--r-- | contrib/cube/README.cube | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/cube/README.cube b/contrib/cube/README.cube index bc28c6ec313..e83763f68e0 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. |