summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql
AgeCommit message (Collapse)Author
2018-05-26[2.1.x] Refs #27098 -- Removed unused introspection queries.Markus Holtermann
Unused since 578711c31052625cc87319cf1c46662c14d75ce9. Thanks Ian Foote for finding this. Backport of e01fa015c0fca32bb740b575c8fbfd388d8f4957 from master
2018-04-27Fixed #29015 -- Added an exception if the PostgreSQL database name is too long.priyanshsaxena
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-04-03Refs #24791 -- Made PostgreSQL's nodb connection use first PostgresSQL db ↵Mariusz Felisiak
when 'postgres' db isn't available. Thanks Tim Graham and Claude Paroz for reviews.
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2018-01-09Added DatabaseFeatures.is_postgresql_9_5 to avoid repetition.Tim Graham
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-12-21Refs #28909 -- Simplifed code using unpacking generalizations.Nick Pope
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-04Fixed #28860 -- Removed unnecessary len() calls.Дилян Палаузов
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
2017-11-26Refs #27954 -- Fixed typo in django/db/backends/postgresql/client.py comment.Mariusz Felisiak
2017-09-27Fixed #28626 -- Dropped support for PostgreSQL 9.3.Tim Graham
Thanks Simon Charette for the introspection changes.
2017-09-22Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation ↵Tim Graham
timeline.
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.