summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/backends/postgis
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34344 -- Allowed PostGIS DatabaseWrapper subclasses to customize ↵David Buhler2023-02-211-4/+18
| | | | (features/introspection/ops)_class classes.
* Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.Jacob Walls2023-02-071-7/+9
|
* Refs #31014 -- Added FromWKB and FromWKT GIS database functions.Mariusz Felisiak2023-01-101-0/+2
| | | | | Co-authored-by: Ondřej Böhm <ondrej.bohm@firma.seznam.cz> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
* Fixed #34219 -- Preserved Char/TextField.db_collation when altering column type.Mariusz Felisiak2022-12-221-2/+7
| | | | | | | This moves setting a database collation to the column type alteration as both must be set at the same time. This should also avoid another layer of the column type alteration when adding database comments support (#18468).
* Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo2022-12-154-9/+131
| | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #33308 -- Added psycopg_any.sql.quote() hook.Florian Apolloner2022-12-121-9/+2
|
* Refs #33308 -- Made PostGISAdapter do not use psycopg2's Binary().Florian Apolloner2022-12-022-13/+10
|
* Fixed #28975 -- Made PostGIS backend skip extension creation if installed.Rust Saiargaliev2022-08-101-0/+3
|
* Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.Claude Paroz2022-06-211-1/+1
| | | | Regression in 64c3f049ea3bcb1c82f35ae09f1dd5349a826a5c.
* Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.Mariusz Felisiak2022-05-041-3/+1
|
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-073-5/+9
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-078-168/+236
|
* Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵Claude Paroz2021-11-301-4/+4
| | | | | | | | | MySQL GIS backends. Thanks Daniel Swain for the report and Arsalan Ghassemi for the initial patch. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #32721 -- Fixed migrations crash when adding namespaced spatial ↵snowman22021-05-141-4/+3
| | | | indexes on PostGIS.
* Refs #32721 -- Made PostGISSchemaEditor._create_index_sql() call ↵snowman22021-05-131-17/+16
| | | | super()._create_index_sql().
* Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak2021-01-191-1/+1
|
* Added SpatialFeatures.empty_intersection_returns_none.Tim Graham2021-01-131-0/+1
|
* Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup.Tim Graham2021-01-021-1/+0
|
* Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields ↵Hannes Ljungberg2020-12-231-3/+3
| | | | argument optional and kwarg-only.
* Renamed BaseSpatialOperations.geography to ↵Tim Graham2020-11-092-1/+1
| | | | BaseSpatialFeatures.supports_geography.
* Made OracleSpatialAdapter clone geometries rather than mutate them.Tim Graham2020-10-271-0/+4
|
* Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg2020-06-041-0/+1
|
* Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak2020-05-141-1/+1
|
* Renamed PROJ.4 to PROJ.Claude Paroz2020-05-131-3/+3
|
* Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne2020-05-111-1/+1
| | | | | The method has been available since Python 3.6. The shorter syntax is also marginally faster.
* Changed django.forms.ValidationError imports to ↵François Freitag2020-04-281-1/+1
| | | | | | django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #30489 -- Fixed RasterField deserialization with pixeltype flags.Hasan Ramezani2020-03-052-11/+13
| | | | Thanks Ivor Bosloper for the original patch.
* Refs #30489 -- Made from_pgraster()/to_pgraster() use ↵Ivor Bosloper2020-03-042-10/+14
| | | | BANDTYPE_FLAG_HASNODATA and bitwise operators for nodata flag.
* Fixed #30846 -- Made PostGIS backend respect Index's name argument.=Pratik Kumar2020-02-101-1/+5
|
* Fixed #31248 -- Added missing space before USING SQL on PostGIS.Hannes Ljungberg2020-02-101-1/+1
|
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-1/+1
|
* Fixed #30996 -- Added AsWKB and AsWKT GIS functions.Sergey Fedoseev2019-11-221-0/+2
|
* Used Statement in PostGISSchemaEditor._create_index_sql().Mads Jensen2019-09-111-8/+10
|
* Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.Tim Graham2019-02-041-8/+1
|
* Refs #30123 -- Simplified introspection of geography columns on PostGIS.Nick Pope2019-01-231-38/+13
|
* Refs #30123 -- Changed second arg of ↵Nick Pope2019-01-231-3/+3
| | | | DatabaseIntrospection.get_geometry_type() to the row description.
* Simplified DatabaseIntrospection.get_geometry_type() for PostGIS.Nick Pope2019-01-221-25/+10
|
* Followed style guide for model attribute ordering.Matt Wiens2018-12-271-5/+9
|
* Fixed typo in contrib.gis variable name.HyunTae Hwang2018-12-161-3/+3
|
* Fixed #29547 -- Added support for partial indexes.Mads Jensen2018-10-291-0/+1
| | | | | Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and Markus Holtermann for comments and feedback.
* Refs #29784 -- Normalized Python docs links to omit the version.Jon Dufresne2018-09-251-1/+1
|
* Fixed typos in comments and docs.luz.paz2018-08-011-1/+1
|
* Refs #27098 -- Removed unused introspection queries.Markus Holtermann2018-05-261-20/+0
| | | | | Unused since 578711c31052625cc87319cf1c46662c14d75ce9. Thanks Ian Foote for finding this.
* Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR.Sergey Fedoseev2017-12-271-0/+2
|
* Fixed #28853 -- Updated connection.cursor() uses to use a context manager.Jon Dufresne2017-11-281-10/+2
|
* Used bytes.hex() and bytes.fromhex() in postgis.pgraster to simplify.Sergey Fedoseev2017-11-241-11/+7
| | | This was missed in 93cdd07e8fb08d7bb3f1e4a7117aa9d0d76581cd.
* Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵Simon Charette2017-10-061-2/+2
| | | | PEP 249.
* Simplified various __eq__() methods.Mads Jensen2017-09-281-3/+1
|
* Removed django.contrib.gis.geometry.backend.Tim Graham2017-09-121-2/+2
| | | | | The layer of indirection is unchanged and undocumented since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8.
* Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more ↵Sergey Fedoseev2017-09-111-0/+3
| | | | | than once. Reverted test for refs #27603 in favor of using FuncTestMixin.