summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/introspection.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #18468 -- Used obj_description() with a catalog name on PostgreSQL.Mariusz Felisiak2023-01-121-1/+1
| | | | | | | obj_description(object oid) without a catalog name is deprecated since there is no guarantee that OIDs are unique across different system catalogs. Thanks Tim Graham for the report.
* Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul2022-12-281-4/+7
| | | | | | | | Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk>
* Made inspectdb used Cursor.description.display_size for CharFields' max_length.Mariusz Felisiak2022-12-081-1/+2
| | | internal_size is size for fixed-size types not for char types.
* Fixed #30511 -- Used identity columns instead of serials on PostgreSQL.Florian Apolloner2022-04-131-23/+28
|
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-11/+34
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-47/+83
|
* Removed DatabaseIntrospection.get_key_columns().Mariusz Felisiak2021-11-101-4/+1
| | | Thanks Simon Charette for the report.
* Fixed DatabaseIntrospection.get_relations() docstring.Tim Graham2021-11-101-1/+1
| | | The foreign keys are "in" the given table, not "to" it.
* Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak2021-01-191-2/+2
|
* Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick2020-09-211-1/+3
| | | | Thanks Simon Charette and Mariusz Felisiak for reviews.
* Added DatabaseIntrospection.index_default_access_method hook on the ↵Tim Graham2020-09-151-3/+10
| | | | | PostgreSQL backend. This hook is for the CockroachDB backend where the name is 'prefix'.
* Fixed #12990, Refs #27694 -- Added JSONField model field.sage2020-05-081-0/+1
| | | | | | | | | | | Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-1/+1
|
* Fixed #30661 -- Added models.SmallAutoField.Nick Pope2019-08-021-0/+2
|
* Fixed #30644 -- Made introspection use pg_table_is_visible() instead of ↵Georgi Yanchev2019-07-221-7/+9
| | | | filtering by public schema on PostgreSQL.
* Simplified get_key_columns()/get_relations() introspection methods for ↵Mariusz Felisiak2019-07-201-17/+4
| | | | PostgreSQL.
* Fixed #30331 -- Added support for psycopg2 2.8.Mariusz Felisiak2019-04-051-1/+12
|
* Refs #29722 -- Added introspection of partitions for PostgreSQL.Nick Pope2018-11-191-9/+6
|
* Fixed #29870 -- Added DurationField introspection for Oracle and PostgreSQL.Mariusz Felisiak2018-10-211-0/+1
| | | Thanks Tim Graham for the review.
* Refs #29722 -- Added introspection of materialized views for PostgreSQL.Nick Pope2018-10-021-11/+20
|
* Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.Nick Pope2018-10-021-2/+2
| | | | Thanks infinite-l00p for the initial patch.
* Simplified introspection methods for PostgreSQL.Nick Pope2018-09-141-19/+18
|
* Fixed #29614 -- Added BTreeIndex to django.contrib.postres.Nick Pope2018-08-021-1/+2
|
* Refs #27098 -- Removed unused introspection queries.Markus Holtermann2018-05-261-10/+0
| | | | | Unused since 578711c31052625cc87319cf1c46662c14d75ce9. Thanks Ian Foote for finding this.
* Refs #28909 -- Simplifed code using unpacking generalizations.Nick Pope2017-12-211-1/+1
|
* Fixed #28626 -- Dropped support for PostgreSQL 9.3.Tim Graham2017-09-271-16/+6
| | | | Thanks Simon Charette for the introspection changes.
* Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation ↵Tim Graham2017-09-221-28/+0
| | | | timeline.
* Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak2017-09-131-0/+20
| | | | Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
* Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL.Tim Schneider2017-05-151-3/+7
|
* Refs #27795 -- Removed unneeded force_text callsClaude Paroz2017-03-041-6/+2
| | | | Thanks Tim Graham for the review.
* Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan2017-02-281-5/+6
|
* Fixed #27135 -- Made index introspection return Index.suffix.Tim Graham2017-02-151-1/+2
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.Mads Jensen2017-01-151-6/+10
| | | | Thanks Tim Graham and Markus Holtermann for review.
* Refs #24245 -- Added introspection for database defaults on Oracle.Mariusz Felisiak2016-11-301-3/+0
|
* Refs #20888 -- Fixed index ordering introspection on PostgreSQL 9.6.François Freitag2016-10-171-2/+2
|
* Refs #27098 -- Added introspection for expression-based index on PostgreSQLClaude Paroz2016-09-121-6/+14
| | | | Also test it on PostGIS raster fields.
* Reformatted PostgreSQL query for better readabilityClaude Paroz2016-09-121-7/+6
|
* Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz2016-09-121-0/+6
| | | | | Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
* Fixed #25476 -- Allowed PostgreSQL introspection to work regardless of table ↵Marcos Vives Del Sol2016-09-021-56/+34
| | | | owner.
* Removed double semicolon in SQL queryClaude Paroz2016-08-301-1/+1
|
* Refs #27097, #27098 -- Moved PostgreSQL index type introspection to ↵Akshesh2016-08-301-10/+7
| | | | get_constraints().
* Refs #27030 -- Added index type introspection on PostgreSQL.Akshesh2016-08-121-2/+6
|
* Refs #20888 -- Added index order introspection.Akshesh2016-08-121-14/+27
|
* Refs #24928 -- Added introspection support for UUIDFieldClaude Paroz2016-07-201-0/+1
|
* Fixed W503 flake8 warnings.Tim Graham2016-04-041-3/+7
|
* Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy2015-12-251-2/+5
|
* Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede2015-08-071-0/+229
|
* Deprecated the psycopg-based postgresql database backend.Russell Keith-Magee2011-04-021-88/+0
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@15980 bcc190cf-cafb-0310-a4f2-bffc1f526a37