summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql
AgeCommit message (Collapse)Author
2017-03-21[1.11.x] Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.Mariusz Felisiak
Thanks Tim Graham for the review. Backport of 43380e911073beab401a2fdeca0f25001e170dac from master
2017-02-21[1.11.x] Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL.Vytis Banaitis
Accuracy was incorrect when dates differ by a month or more. Backport of 4045fd56cb0f83d0f78de9aca073c7104e4cf8fd from master
2017-02-15[1.11.x] Fixed #27135 -- Made index introspection return Index.suffix.Tim Graham
Backport of b008f7cc5655d01817a8825e6317877b43c92181 from master
2017-01-25[1.11.x] Removed unused variables that are overwritten.Mads Jensen
Backport of ebf34c3cdcd2c75349c60a064427ac255958bf9b from master
2017-01-16Refs #16614 -- Called _prepare_cursor() on every created cursor.François Freitag
2017-01-15Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-01-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs.
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.
2016-12-29Fixed #27615 -- Used timedeltas as arguments to Oracle database driver.Mariusz Felisiak
Removed unused DatabaseFeatures.driver_supports_timedeltas workaround.
2016-12-24Fixed #25492 -- Checked deferred foreign key constraints before dropping them.Simon Charette
This allows running foreign key data and schema altering operations in the same migration on PostgreSQL. Thanks Tim for review.
2016-11-30Refs #24245 -- Added introspection for database defaults on Oracle.Mariusz Felisiak
2016-11-28Refs #26327 -- Renamed JsonAgg to JSONBAgg.Mads Jensen
Thanks to Christian von Roques for the report.
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-10-25Updated postgresql.org links to https and made them canonical.Marti Raudsepp
2016-10-17Refs #20888 -- Fixed index ordering introspection on PostgreSQL 9.6.François Freitag
2016-09-26Removed DatabaseError and IntegrityError declarations from database backends.Adam Chainz
Unused since 11ee9746a0530ec38f523fb4de44950d9b783877.
2016-09-22Removed unnecessary casting when using builtin lookups on PostgreSQL.Simon Charette
2016-09-12Used a database feature to prevent the jsonb test model from being migrated.Simon Charette
Thanks Tim for the review.
2016-09-12Refs #27098 -- Added introspection for expression-based index on PostgreSQLClaude Paroz
Also test it on PostGIS raster fields.
2016-09-12Reformatted PostgreSQL query for better readabilityClaude Paroz
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
2016-09-08Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing.Chris Jerdonek
2016-09-02Fixed #27097 -- Added index type introspection to built-in db backends.Akshesh
2016-09-02Fixed #25476 -- Allowed PostgreSQL introspection to work regardless of table ↵Marcos Vives Del Sol
owner.
2016-08-30Removed double semicolon in SQL queryClaude Paroz
2016-08-30Refs #27097, #27098 -- Moved PostgreSQL index type introspection to ↵Akshesh
get_constraints().
2016-08-23Fixed #27061 -- Added a TEST['TEMPLATE'] setting for PostgreSQL.Chris Jerdonek
2016-08-15Removed unnecessary registration of psycopg2 unicode extensions on Python 3Claude Paroz
2016-08-12Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.Akshesh
2016-08-12Refs #27030 -- Added index type introspection on PostgreSQL.Akshesh
2016-08-12Refs #20888 -- Added index order introspection.Akshesh
2016-08-08Fixed #26500 -- Added SKIP LOCKED support to select_for_update().Simon Charette
Thanks Tim for the review.
2016-07-20Refs #24928 -- Added introspection support for UUIDFieldClaude Paroz
2016-07-15Refs #26889 -- Refactored SchemaEditor to allow backend specific indexes.Jon Dufresne
2016-07-13Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field().Jon Dufresne
2016-07-08Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.Simon Charette
Thanks Tim for the review.
2016-07-08Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.Simon Charette
Thanks Josh for the amazing testing setup and Tim for the review.
2016-07-07Fixed #25317, #26090 -- Fixed swapping combinations of unique and db_index ↵Jon Dufresne
during migrations.
2016-06-27Fixed #26751 -- Made dbshell exit with the shell's error code.Étienne BERSAC
2016-06-06Fixed #26712 -- Avoided unnecessary SET TIMEZONE queries on PostgreSQL.Simon Charette
A change of the USE_TZ or TIME_ZONE settings doesn't necessarily require a change to the active connections' timezones.
2016-06-03Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.mieciu
2016-04-22Refs #3254 -- Added full text search to contrib.postgres.Marc Tamlyn
Adds a reasonably feature complete implementation of full text search using the built in PostgreSQL engine. It uses public APIs from Expression and Lookup. With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel and many others for their advice and review. Particular thanks also go to the supporters of the contrib.postgres kickstarter.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-04Fixed E402 flake8 warnings.Tim Graham
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-03-02Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its ↵acrefoot
objects. PostgreSQL support only. Thanks Vladislav Manchev and alesasnouski for working on the patch.
2016-02-26Fixed #24793 -- Unified temporal difference support.Simon Charette
2016-02-08Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False.Tim Graham
2016-01-08Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on ↵Tim Graham
Char/TextField with unique=True and db_index=True. Thanks Simon Charette for review.
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy