﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33294	opclasses missing in PostGIS's 3D geometry indexes	Tim Graham	nobody	"After 99bc67a9e79256d8a2fcd5742e33a5e79c056539 (refs #32721), the GIST_GEOMETRY_OPS_ND opclass is no longer present for indexes on 3D geometries. You can observe the indexes created while running the test suite and see, for example:

`CREATE INDEX ""geo3d_city3d_point_id"" ON ""geo3d_city3d"" USING GIST (""point"")`

instead of

`CREATE INDEX ""geo3d_city3d_point_id"" ON ""geo3d_city3d"" USING GIST (""point"" GIST_GEOMETRY_OPS_ND)`

The issue seems to be that when `BaseDatabaseSchemaEditor._create_index_sql()` [https://github.com/django/django/blob/12fe3224f5086161462faf614cad91f3fad32e78/django/db/backends/base/schema.py#L1071 calls  self._index_columns], it invokes [https://github.com/django/django/blob/12fe3224f5086161462faf614cad91f3fad32e78/django/db/backends/base/schema.py#L1087-L1088 BaseDatabaseSchemaEditor's version] (which ignores opclasses) rather than [https://github.com/django/django/blob/12fe3224f5086161462faf614cad91f3fad32e78/django/db/backends/postgresql/schema.py#L212-L215 postgresql's]."	Bug	closed	GIS	4.0	Normal	invalid			Unreviewed	0	0	0	0	0	0
