summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql
AgeCommit message (Collapse)Author
2017-11-29[2.0.x] Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch.
2017-09-18Changed default value of DatabaseFeatures.has_bulk_insert to True.Mads Jensen
2017-09-13Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak
Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
2017-09-11Fixed #28578 -- Renamed DatabaseCreation number arguments to suffix.Jon Dufresne
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-06Removed DatabaseWrapper.psycopg2_version.Sergey Fedoseev
Unused since 3adc5f1ee6618a615db07d4a868b366a15c39f82.
2017-09-05Removed unneeded __init__() in PostgreSQL DatabaseWrapper.Mads Jensen
2017-08-12Fixed #27849 -- Added filtering support to aggregates.Tom
2017-08-08Refs #23766 -- Added tests for CursorWrapper.callproc().Mariusz Felisiak
Thanks Tim Graham for the review.
2017-08-01Removed unused DatabaseOperations.last_insert_id() on PostgreSQL.Mariusz Felisiak
Unused since 9eb2afddfa0165d69f3e506122c2aa2b68618591.
2017-07-27Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't ↵Mariusz Felisiak
provided. Thanks Tim Graham for the review.
2017-06-29Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().Ran Benita
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-20Refs #25530 -- Changed _create_index_name to take a table as first parameter.Simon Charette
2017-06-20Fixed #27869 -- Added fastupdate and gin_pending_list_limit params to GinIndex.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-06-13Fixed #27830 -- Used distutils.version.LooseVersion for version parsing.chillaranand
2017-06-06Fixed #28275 -- Added more hooks to SchemaEditor._alter_field().Florian Apolloner
2017-05-24Fixed #27860 -- Dropped varchar_pattern_ops/text_pattern_ops index before ↵Mariusz Felisiak
altering char/text field in PostgreSQL. Thanks Tim Graham for the review.
2017-05-23Refs #27859 -- Added DatabaseWrapper.display_name.Mariusz Felisiak
Thanks Tim Graham for the review.
2017-05-15Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL.Tim Schneider
2017-04-25Fixed #28116 -- Used error code filtering in PostgreSQL test database creation.Mariusz Felisiak
Thanks Claude Paroz and Tim Graham for reviews.
2017-04-10Fixed #25406 -- Removed exception hiding in PostgreSQL test database ↵Mariusz Felisiak
creation during --keepdb. Thanks Markus Holtermann and Tim Graham for reviews.
2017-04-07Fixed #28038 -- Restored casting to text of builtin lookups on PostgreSQL.Simon Charette
Reverted 658f1e8 which broke code using __icontains's implicit cast to ::text on ArrayField. Thanks Peter J. Farrell for the report.
2017-04-01Fixed #27954 -- Allowed keyboard interrupt to abort queries in PostgreSQL ↵Chris Sinchok
dbshell. Thanks Tim Martin for review.
2017-03-21Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.Mariusz Felisiak
Thanks Tim Graham for the review.
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-03-03Refs #27860 -- Simplified deleting indexes on PostgreSQL using "IF EXISTS".Mariusz Felisiak
2017-03-01Removed PostgreSQL version detection for psycopg2 < 2.0.12.Tim Graham
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-21Refs #26285 -- Removed postgresql's unused ↵Tim Graham
DatabaseOperations.fulltext_search_sql(). Should have been removed in 5139832398624be75ee5361a6fac9348fdb61093.
2017-02-21Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL.Vytis Banaitis
Accuracy was incorrect when dates differ by a month or more.
2017-02-15Fixed #27135 -- Made index introspection return Index.suffix.Tim Graham
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-06Fixed #27802 -- Unified return value of db backend datetime SQL methods.Mariusz Felisiak
2017-01-30Refs #23919 -- Removed usage of obsolete SafeBytes classClaude Paroz
The class will be removed as part of #27753. Thanks Tim Graham for the review.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-25Removed unused variables that are overwritten.Mads Jensen
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham
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