mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Rename contrib contains/contained-by operators to @> and <@, per discussion.
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user