Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34470 -- Enforced UTF-8 encoding on PostgreSQL. | Mariusz Felisiak | 2023-04-07 | 1 | -1/+1 |
| | | | Regression in 6a2165816394ab4bb259f6171e82417e098e97a6. | ||||
* | Fixed #34466 -- Reallowed setting cursor_factory in DATABASES["options"] on ↵ | Anders Kaseorg | 2023-04-07 | 1 | -9/+8 |
| | | | | | | PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | ||||
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 1 | -1/+0 |
| | | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | ||||
* | Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding ↵ | Mariusz Felisiak | 2023-01-17 | 1 | -3/+16 |
| | | | | | | | | with psycopg version 3. Thanks Guillaume Andreu Sabater for the report. Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com> | ||||
* | Refs #34255 -- Bumped required psycopg version to 3.1.8. | Mariusz Felisiak | 2023-01-17 | 1 | -3/+3 |
| | |||||
* | Fixed #34200 -- Made the session role configurable on PostgreSQL. | Mike Crute | 2023-01-03 | 1 | -5/+20 |
| | |||||
* | Fixed #14094 -- Added support for unlimited CharField on PostgreSQL. | Adrian Torres | 2022-12-28 | 1 | -1/+7 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | 2022-12-15 | 1 | -48/+114 |
| | | | | | | | 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.IsolationLevel. | Florian Apolloner | 2022-12-12 | 1 | -6/+15 |
| | |||||
* | Refs #33308 -- Modernized database wrapper in the PostgreSQL backend. | Florian Apolloner | 2022-12-06 | 1 | -6/+5 |
| | | | | | | | | | - Used connection.info instead of connection.get_parameter_status() and connection.server_info which don't exist in psycopg 3. - Set encoding using the client_encoding connection parameter instead of connection.set_client_encoding() that doesn't exist in psycopg 3. - Used the dbname connection parameter instead of deprecated alias - database. | ||||
* | Fixed #30511 -- Used identity columns instead of serials on PostgreSQL. | Florian Apolloner | 2022-04-13 | 1 | -3/+8 |
| | |||||
* | Fixed #33379 -- Added minimum database version checks. | Hasan Ramezani | 2022-02-18 | 1 | -0/+8 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -99/+114 |
| | |||||
* | Refs #32355 -- Bumped required psycopg2 version to 2.8.4. | Mariusz Felisiak | 2021-12-22 | 1 | -2/+2 |
| | | | psycopg2 2.8.4 is the first release to support Python 3.8. | ||||
* | Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() on ↵ | Daniel Hahler | 2021-10-01 | 1 | -0/+3 |
| | | | | PostgreSQL. | ||||
* | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | 2021-02-10 | 1 | -6/+1 |
| | |||||
* | Fixed #32403 -- Fixed re-raising DatabaseErrors when using only 'postgres' ↵ | Mariusz Felisiak | 2021-02-02 | 1 | -0/+3 |
| | | | | | | | database. Thanks Kazantcev Andrey for the report. Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe. | ||||
* | Fixed #32292 -- Added support for connection by service name to PostgreSQL. | Hasan Ramezani | 2021-01-20 | 1 | -6/+19 |
| | |||||
* | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | 2021-01-14 | 1 | -1/+0 |
| | |||||
* | Fixed #32201 -- Removed obsolete isort:skip's. | Seamus Quinn | 2020-11-19 | 1 | -6/+6 |
| | | | Obsolete as of isort 5. | ||||
* | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | 2020-08-28 | 1 | -1/+4 |
| | | | | | | | on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. | ||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 1 | -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> | ||||
* | Fixed #31233 -- Closed database connections and cursors after use. | Jon Dufresne | 2020-02-06 | 1 | -3/+5 |
| | |||||
* | Refs #31233 -- Changed DatabaseWrapper._nodb_connection to _nodb_cursor(). | Jon Dufresne | 2020-02-06 | 1 | -6/+11 |
| | | | | | | It is now a method instead of a property and returns a context manager that yields a cursor on entry and closes the cursor and connection upon exit. | ||||
* | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | 2020-02-04 | 1 | -2/+1 |
| | |||||
* | Fixed #31212 -- Updated psycopg links to HTTPS and new location. | Jon Dufresne | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | Fixed #23524 -- Allowed DATABASES['TIME_ZONE'] option on PostgreSQL. | Aymeric Augustin | 2019-12-04 | 1 | -2/+4 |
| | |||||
* | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | 2019-11-19 | 1 | -0/+2 |
| | |||||
* | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | 2019-08-02 | 1 | -0/+1 |
| | |||||
* | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | 2019-06-20 | 1 | -2/+28 |
| | | | | | This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | ||||
* | Fixed #30148 -- Logged COPY ... TO statements in connection.queries on ↵ | kingbuzzman | 2019-04-29 | 1 | -0/+16 |
| | | | | PostgreSQL. | ||||
* | Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on ↵ | Simon Charette | 2019-02-20 | 1 | -4/+1 |
| | | | | | initialization. This addressed a regression introduced by a96b9019320ed8236659ee520a7a017c1bafbc6f as identified by Ran Benita. | ||||
* | Fixed #30171 -- Fixed DatabaseError in servers tests. | Jon Dufresne | 2019-02-14 | 1 | -1/+0 |
| | | | | | | Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b. | ||||
* | Refs #27753 -- Favored SafeString over SafeText. | Tim Graham | 2019-02-06 | 1 | -2/+2 |
| | |||||
* | Refs #28478 -- Prevented timezone assignment for unusable PostgreSQL ↵ | Simon Charette | 2019-01-14 | 1 | -1/+5 |
| | | | | connections. | ||||
* | Fixed #29886 -- Fixed unaccent lookup when PostgreSQL's ↵ | Jayantha Gumballi | 2018-11-01 | 1 | -1/+1 |
| | | | | | standard_conforming_strings option is off. Thanks Tom McClure for the patch. | ||||
* | Refs #29015 -- Added database name to PostgreSQL database name too long ↵ | Jon Dufresne | 2018-08-17 | 1 | -3/+7 |
| | | | | exception. | ||||
* | Fixed #29015 -- Added an exception if the PostgreSQL database name is too long. | priyanshsaxena | 2018-04-27 | 1 | -0/+6 |
| | |||||
* | Refs #24791 -- Made PostgreSQL's nodb connection use first PostgresSQL db ↵ | Mariusz Felisiak | 2018-04-03 | 1 | -9/+9 |
| | | | | | when 'postgres' db isn't available. Thanks Tim Graham and Claude Paroz for reviews. | ||||
* | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -1/+2 |
| | |||||
* | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | 2017-12-11 | 1 | -1/+1 |
| | |||||
* | Removed DatabaseWrapper.psycopg2_version. | Sergey Fedoseev | 2017-09-06 | 1 | -4/+0 |
| | | | | Unused since 3adc5f1ee6618a615db07d4a868b366a15c39f82. | ||||
* | Removed unneeded __init__() in PostgreSQL DatabaseWrapper. | Mads Jensen | 2017-09-05 | 1 | -4/+2 |
| | |||||
* | Fixed #27830 -- Used distutils.version.LooseVersion for version parsing. | chillaranand | 2017-06-13 | 1 | -1/+2 |
| | |||||
* | Refs #27859 -- Added DatabaseWrapper.display_name. | Mariusz Felisiak | 2017-05-23 | 1 | -0/+1 |
| | | | Thanks Tim Graham for the review. | ||||
* | Fixed #27966 -- Bumped required psycopg2 version to 2.5.4. | Mariusz Felisiak | 2017-03-21 | 1 | -2/+2 |
| | | | Thanks Tim Graham for the review. | ||||
* | Removed PostgreSQL version detection for psycopg2 < 2.0.12. | Tim Graham | 2017-03-01 | 1 | -2/+1 |
| | |||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed usage of obsolete SafeBytes class | Claude Paroz | 2017-01-30 | 1 | -2/+1 |
| | | | | | The class will be removed as part of #27753. Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -2/+2 |
| |