Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵ | David Wobrock | 2023-04-18 | 2 | -1/+46 |
| | | | | relation on PostgreSQL. | ||||
* | Fixed #34486 -- Fixed DatabaseOperations.compose_sql() crash with no ↵ | Scott Macpherson | 2023-04-14 | 1 | -0/+10 |
| | | | | | | existing database connection on PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | ||||
* | Fixed #34470 -- Enforced UTF-8 encoding on PostgreSQL. | Mariusz Felisiak | 2023-04-07 | 1 | -0/+12 |
| | | | Regression in 6a2165816394ab4bb259f6171e82417e098e97a6. | ||||
* | Fixed #34466 -- Reallowed setting cursor_factory in DATABASES["options"] on ↵ | Anders Kaseorg | 2023-04-07 | 1 | -0/+18 |
| | | | | | | PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | ||||
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 3 | -6/+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 | -0/+19 |
| | | | | | | | | with psycopg version 3. Thanks Guillaume Andreu Sabater for the report. Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com> | ||||
* | Fixed #34200 -- Made the session role configurable on PostgreSQL. | Mike Crute | 2023-01-03 | 1 | -1/+16 |
| | |||||
* | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | 2022-12-15 | 2 | -12/+28 |
| | | | | | | | 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 | -3/+19 |
| | |||||
* | Refs #33308 -- Moved psycopg2 imports to the psycopg_any module. | Florian Apolloner | 2022-12-12 | 1 | -3/+1 |
| | |||||
* | Avoided direct mocking of psycopg2.__version__ in ↵ | Mariusz Felisiak | 2022-12-08 | 1 | -4/+6 |
| | | | | test_correct_extraction_psycopg2_version(). | ||||
* | Fixed #34201 -- Bumped minimum supported SQLite to 3.21.0. | Mariusz Felisiak | 2022-12-08 | 1 | -2/+2 |
| | |||||
* | Refs #33308 -- Modernized database wrapper in the PostgreSQL backend. | Florian Apolloner | 2022-12-06 | 1 | -1/+1 |
| | | | | | | | | | - 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. | ||||
* | Refs #33308 -- Used psycopg's errors instead of errorcodes. | Florian Apolloner | 2022-12-01 | 1 | -5/+5 |
| | |||||
* | Fixed #34103 -- Fixed logging SQL queries with duplicate parameters on Oracle. | David Sanders | 2022-11-25 | 1 | -0/+17 |
| | |||||
* | Fixed #31090 -- Logged transaction management queries. | Ilya Bass | 2022-11-21 | 1 | -3/+60 |
| | | | | | Thanks to Petter Strandmark for the original idea and Mariusz Felisiak for advice during the DjangoConUS 2022 Sprint! | ||||
* | Fixed #33872 -- Deprecated ↵ | Mariusz Felisiak | 2022-08-03 | 1 | -0/+1 |
| | | | | django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. | ||||
* | Fixed #33718 -- Dropped support for MySQL 5.7. | Mariusz Felisiak | 2022-07-08 | 1 | -2/+2 |
| | |||||
* | Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters. | Simon Charette | 2022-07-06 | 1 | -8/+8 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #33815 -- Fixed last_executed_query() on Oracle when parameter names ↵ | Mariusz Felisiak | 2022-07-05 | 1 | -0/+17 |
| | | | | overlap. | ||||
* | Fixed #33717 -- Dropped support for PostgreSQL 11. | Mariusz Felisiak | 2022-05-19 | 1 | -2/+2 |
| | |||||
* | Fixed #33713 -- Dropped support for MariaDB 10.3. | Mariusz Felisiak | 2022-05-18 | 1 | -2/+2 |
| | |||||
* | Refs #33379 -- Fixed minimum supported version of MariaDB. | Mariusz Felisiak | 2022-05-17 | 1 | -2/+2 |
| | |||||
* | Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4. | Mariusz Felisiak | 2022-05-04 | 1 | -2/+2 |
| | |||||
* | Fixed various tests on MySQL with MyISAM storage engine. | Mariusz Felisiak | 2022-04-18 | 1 | -2/+10 |
| | |||||
* | Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related ↵ | Mariusz Felisiak | 2022-04-18 | 1 | -0/+1 |
| | | | | tests with MyISAM storage engine. | ||||
* | Fixed #30511 -- Used identity columns instead of serials on PostgreSQL. | Florian Apolloner | 2022-04-13 | 1 | -0/+15 |
| | |||||
* | Refs #30581 -- Fixed DatabaseFeatures.bare_select_suffix on MySQL < 8 and ↵ | Gagaro | 2022-03-22 | 1 | -0/+6 |
| | | | | MariaDB < 10.4. | ||||
* | Fixed isolation of FeaturesTests.test_supports_json_field_operational_error(). | Mariusz Felisiak | 2022-03-18 | 1 | -2/+3 |
| | |||||
* | Fixed #31169 -- Adapted the parallel test runner to use spawn. | David Smith | 2022-03-15 | 1 | -1/+9 |
| | | | | | Co-authored-by: Valz <ahmadahussein0@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | ||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -4/+4 |
| | | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | ||||
* | Fixed #33379 -- Added minimum database version checks. | Hasan Ramezani | 2022-02-18 | 5 | -24/+94 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 4 | -8/+18 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 34 | -831/+1202 |
| | |||||
* | Removed obsolete Oracle's test_client_encoding() test. | Mariusz Felisiak | 2021-12-30 | 1 | -6/+0 |
| | | | | | encoding and nencoding parameters were deprecated in cx_Oracle 8.2. Moreover, encoding is handled internally between cx_Oracle and Oracle Database and there is no need to test it. | ||||
* | Fixed #23273 -- Avoided creation of django_migrations table when there are ↵ | Jacob Walls | 2021-12-30 | 1 | -3/+29 |
| | | | | no migrations to apply. | ||||
* | Refs #33355 -- Made trunc functions raise ValueError on invalid lookups on ↵ | Adam Johnson | 2021-12-23 | 1 | -0/+21 |
| | | | | | | SQLite. Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | ||||
* | Refs #32355 -- Bumped required psycopg2 version to 2.8.4. | Mariusz Felisiak | 2021-12-22 | 1 | -4/+1 |
| | | | psycopg2 2.8.4 is the first release to support Python 3.8. | ||||
* | Fixed #30398 -- Added CONN_HEALTH_CHECKS database setting. | Przemysław Suliga | 2021-12-01 | 1 | -2/+155 |
| | | | | | | | The CONN_HEALTH_CHECKS setting can be used to enable database connection health checks for Django's persistent DB connections. Thanks Florian Apolloner for reviews. | ||||
* | Fixed #33229 -- Fixed ↵ | SwastikTripathi | 2021-11-19 | 1 | -2/+10 |
| | | | | BaseDatabaseOperations.adapt_datetimefield_value()/adapt_timefield_value() crash with expressions. | ||||
* | Refs #24121 -- Added __repr__() to BaseDatabaseWrapper, JoinPromoter, and ↵ | Jonny Park | 2021-11-19 | 1 | -0/+7 |
| | | | | SQLCompiler. | ||||
* | Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | 2021-11-12 | 1 | -1/+18 |
| | | | | | | Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. | ||||
* | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | 2021-11-10 | 1 | -5/+0 |
| | | | Thanks Simon Charette for the report. | ||||
* | Fixed #32672 -- Fixed introspection of primary key constraints on SQLite. | Anv3sh | 2021-10-26 | 1 | -0/+19 |
| | | | | Thanks Simon Charette for the implementation idea. | ||||
* | Fixed #33214 -- Added ↵ | Manaia Junior | 2021-10-22 | 1 | -0/+5 |
| | | | | BaseDatabaseOperations.format_for_duration_arithmetic() stub method. | ||||
* | Fixed #33194 -- Fixed migrations when altering a field with functional ↵ | Hannes Ljungberg | 2021-10-18 | 1 | -0/+22 |
| | | | | | | | | | | | indexes/unique constraints on SQLite. This adjusts Expressions.rename_table_references() to only update alias when needed. Regression in 83fcfc9ec8610540948815e127101f1206562ead. Co-authored-by: Simon Charette <charettes@users.noreply.github.com> | ||||
* | Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() on ↵ | Daniel Hahler | 2021-10-01 | 1 | -0/+5 |
| | | | | PostgreSQL. | ||||
* | Fixed #33017 -- Fixed storage engine introspection on MySQL. | Matjaz Gregoric | 2021-08-20 | 1 | -1/+31 |
| | | | | | | This also improves performance on MySQL instances with a large number of databases, since querying the information_schema table can be very slow | ||||
* | Used more specific unittest assertions in tests. | Mads Jensen | 2021-07-07 | 1 | -1/+1 |
| | |||||
* | Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert". | Mateo Radman | 2021-07-05 | 1 | -0/+10 |
| |