mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Rename the "point is strictly above/below point" comparison operators.
Historically these were called >^ and <^, but that is inconsistent with the similar box, polygon, and circle operators, which are named |>> and <<| respectively. Worse, the >^ and <^ names are used for *not* strict above/below tests for the box type. Hence, invent new operators following the more common naming. The old operators remain available for now, and are still accepted by the relevant index opclasses too. But there's a deprecation notice, so maybe we can get rid of them someday. Emre Hasegeli, reviewed by Pavel Borisov Discussion: https://postgr.es/m/24348.1587444160@sss.pgh.pa.us
This commit is contained in:
@@ -76,8 +76,10 @@ typedef uint16 StrategyNumber;
|
||||
#define RTSuperStrategyNumber 26 /* for inet << */
|
||||
#define RTSuperEqualStrategyNumber 27 /* for inet >>= */
|
||||
#define RTPrefixStrategyNumber 28 /* for text ^@ */
|
||||
#define RTOldBelowStrategyNumber 29 /* for old spelling of <<| */
|
||||
#define RTOldAboveStrategyNumber 30 /* for old spelling of |>> */
|
||||
|
||||
#define RTMaxStrategyNumber 28
|
||||
#define RTMaxStrategyNumber 30
|
||||
|
||||
|
||||
#endif /* STRATNUM_H */
|
||||
|
Reference in New Issue
Block a user