| Age | Commit message (Collapse) | Author |
|
Backport of f6018c1e63a04e0c12e2ca759e76e05ccf5e09de from main
|
|
ordering on SQLite.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 4d99375b46ad03fa4b4795319973046f438328c8 from master
|
|
Thanks Simon Charette for the review.
Backport of d4ac23bee1c84d8e4610350202ac068fc90f38c0 from master
|
|
'postgres' database.
Thanks Kazantcev Andrey for the report.
Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe.
Backport of f131841c601b9d4884adcdb284b4213c2ad89231 from master
|
|
and expressions as rhs.
This disables interpolation of constraint creation statements. Since
Constraint.create_sql interpolates its parameters instead of deferring
this responsibility to the backend connection it must disable
connection level parameters interpolation.
Backport of 42e8cf47c7ee2db238bf91197ea398126c546741 from master
|
|
DatabaseFeatures.supports_expression_indexes to True.
|
|
Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews.
Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
|
|
|
|
|
|
SQL keywords.
|
|
argument optional and kwarg-only.
|
|
set().
|
|
failures.
Co-authored-by: Tim Graham <timograham@gmail.com>
|
|
|
|
on SQLite.`
Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd.
Thanks Juan Garcia Alvite for the report.
|
|
Obsolete as of isort 5.
|
|
Co-authored-by: Eugene Kulak <kulak.eugene@gmail.com>
|
|
The usage of the --password flag when invoking the mysql CLI has the
potential of exposing the password in plain text if the command happens
to crash due to the inclusion of args provided to
subprocess.run(check=True) in the string representation of the
subprocess.CalledProcessError exception raised on non-zero return code.
Since this has the potential of leaking the password to logging
facilities configured to capture crashes (e.g. sys.excepthook, Sentry)
it's safer to rely on the MYSQL_PWD environment variable instead even
if its usage is discouraged due to potential leak through the ps
command on old flavors of Unix.
Thanks Charlie Denton for reporting the issue to the security team.
Refs #24999.
|
|
|
|
|
|
|
|
|
|
is not a callable.
|
|
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
that don't affect the schema.
|
|
specific timezone.
|
|
PostgreSQL < 10 doesn't support ICU collations.
Thanks Hannes Ljungberg for the report.
|
|
|
|
are disabled.
Thanks Jaap Roes for the report.
|
|
Thanks Simon Charette and Mariusz Felisiak for reviews.
|
|
Previously, backends used different keys "swedish-ci" or "swedish_ci".
|
|
PostgreSQL backend.
This hook is for the CockroachDB backend where the name is 'prefix'.
|
|
|
|
changes on Oracle.
Field names are always uppercased in the Oracle backend. Changing case
should be a noop to avoid database errors: "ORA-00957: duplicate column
name".
|
|
The optimization introduced in 7acef095d73 did not properly handle
deletion involving filters against aggregate annotations.
It initially was surfaced by a MariaDB test failure but misattributed
to an undocumented change in behavior that resulted in the systemic
generation of poorly performing database queries in 5b83bae031.
Thanks Anton Plotkin for the report.
Refs #23576.
|
|
on PostgreSQL.
Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
|
|
migrating away from AutoField.
|
|
AlterField operation with adding a db_column is a noop if the column
name is not changed.
|
|
|
|
Thanks Simon Charette for reviews.
|
|
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
|
|
DatabaseFeatures.json_key_contains_list_matching_requires_list.
CockroachDB's behavior matches PostgreSQL.
|
|
lookups on SQLite.
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
|
|
https://www.postgresql.org/docs/13/functions-uuid.html
https://www.postgresql.org/docs/13/pgcrypto.html#id-1.11.7.34.10.5
|
|
|
|
10.15.
|
|
NO_AUTO_VALUE_ON_ZERO SQL mode is enabled.
|
|
auto-created m2m tables in sequence_reset_sql().
Unreachable because f.remote_field.through is truthy for all m2m
fields.
Resetting sequences of auto-created m2m tables in sequence_reset_sql()
is also unnecessary:
- in sqlsequencereset since c39ec6dccb389fbb4047e44f5247e18bb76ae598
because auto-created tables are included in model_list,
- in loaddata because there is no it need to reset sequences for
models not loaded directly.
- in create_default_site() because it doesn't have m2m fields.
|
|
cx_Oracle handles decimal.Decimal.
expressions_case.tests.CaseExpressionTests.test_update_decimal fails without
this change.
Follow up to 9c5c9bd7091b60fdccc405890dc4f44a8010e954.
|
|
The psycopg2 backend uses the type information to provide type hints.
|