mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Add polygon opclass for SP-GiST
Polygon opclass uses compress method feature of SP-GiST added earlier. For now it's a single operator class which uses this feature. SP-GiST actually indexes a bounding boxes of input polygons, so part of supported operations are lossy. Opclass uses most methods of corresponding opclass over boxes of SP-GiST and treats bounding boxes as point in 4D-space. Bump catalog version. Authors: Nikita Glukhov, Alexander Korotkov with minor editorization by me Reviewed-By: all authors + Darafei Praliaskouski Discussion: https://www.postgresql.org/message-id/flat/54907069.1030506@sigaev.ru
This commit is contained in:
@ -130,6 +130,42 @@
|
||||
<literal>|&></literal>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>poly_ops</literal></entry>
|
||||
<entry><type>polygon</type></entry>
|
||||
<entry>
|
||||
<literal><<</literal>
|
||||
<literal>&<</literal>
|
||||
<literal>&&</literal>
|
||||
<literal>&></literal>
|
||||
<literal>>></literal>
|
||||
<literal>~=</literal>
|
||||
<literal>@></literal>
|
||||
<literal><@</literal>
|
||||
<literal>&<|</literal>
|
||||
<literal><<|</literal>
|
||||
<literal>|>></literal>
|
||||
<literal>|&></literal>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>poly_ops</literal></entry>
|
||||
<entry><type>polygon</type></entry>
|
||||
<entry>
|
||||
<literal><<</literal>
|
||||
<literal>&<</literal>
|
||||
<literal>&&</literal>
|
||||
<literal>&></literal>
|
||||
<literal>>></literal>
|
||||
<literal>~=</literal>
|
||||
<literal>@></literal>
|
||||
<literal><@</literal>
|
||||
<literal>&<|</literal>
|
||||
<literal><<|</literal>
|
||||
<literal>|>></literal>
|
||||
<literal>|&></literal>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>text_ops</literal></entry>
|
||||
<entry><type>text</type></entry>
|
||||
|
Reference in New Issue
Block a user