aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-24 20:53:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-24 20:53:34 +0000
commitb90f8f20f035c3313f8a284346b5a1d155cfd2f0 (patch)
tree68ea92accca0015cc6d16c22f860c6c8167a82b6 /src/backend/commands/dbcommands.c
parent39f3c5d3850f7c50d363e8984280784251317e8b (diff)
downloadpostgresql-b90f8f20f035c3313f8a284346b5a1d155cfd2f0.tar.gz
postgresql-b90f8f20f035c3313f8a284346b5a1d155cfd2f0.zip
Extend r-tree operator classes to handle Y-direction tests equivalent
to the existing X-direction tests. An rtree class now includes 4 actual 2-D tests, 4 1-D X-direction tests, and 4 1-D Y-direction tests. This involved adding four new Y-direction test operators for each of box and polygon; I followed the PostGIS project's lead as to the names of these operators. NON BACKWARDS COMPATIBLE CHANGE: the poly_overleft (&<) and poly_overright (&>) operators now have semantics comparable to box_overleft and box_overright. This is necessary to make r-tree indexes work correctly on polygons. Also, I changed circle_left and circle_right to agree with box_left and box_right --- formerly they allowed the boundaries to touch. This isn't actually essential given the lack of any r-tree opclass for circles, but it seems best to sync all the definitions while we are at it.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions