Dolan Antenucci
|
f944cb3d3b
|
Fixed #30266 -- Kept a sequence owner when altering an AutoField/BigAutoField on PostgreSQL.
|
2019-04-08 22:24:18 +02:00 |
can
|
cef3f2d3c6
|
Fixed #28373 -- Used connection timezone instead of UTC when making dates timezone-aware on MySQL, SQLite, and Oracle.
Thanks vtalpaert for the initial patch.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
2019-04-08 08:59:17 +02:00 |
Mariusz Felisiak
|
79065b55a7
|
Refs #20010 -- Unified DatabaseOperations.last_executed_query() on Oracle with other db backends.
Thanks Simon Charette for the review.
|
2019-04-05 21:35:51 +02:00 |
Mariusz Felisiak
|
5efaf078f7
|
Fixed #30331 -- Added support for psycopg2 2.8.
|
2019-04-05 11:05:53 +02:00 |
msg
|
755673e1bc
|
Fixed #30307 -- Fixed incorrect quoting of database user password when using dbshell on Oracle.
Regression in acfc650f2a .
|
2019-04-04 08:33:28 +02:00 |
Nick Pope
|
198a2a9381
|
Removed unnecessary /static from links to PostgreSQL docs.
|
2019-03-29 21:49:44 -04:00 |
Mariusz Felisiak
|
881362986a
|
Fixed "byte string" typo in various docs and comments.
|
2019-03-28 10:00:12 +01:00 |
Nick Pope
|
d26b242443
|
Fixed #30271 -- Added the Sign database function.
|
2019-03-22 12:52:39 +01:00 |
Nick Pope
|
0b70985f42
|
Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions.
Thanks Mariusz Felisiak and Tim Graham for reviews.
|
2019-03-20 19:30:43 +01:00 |
Simon Charette
|
386d89ab55
|
Fixed #30258 -- Adjusted postgres schema value quoting of ranges.
Thanks Tilman Koschnick for the report and patch.
|
2019-03-18 09:05:39 +01:00 |
Paveł Tyślacki
|
5c17c273ae
|
Refs #30172 -- Prevented removing a model Meta's index/unique_together from removing Meta constraints/indexes.
|
2019-03-17 20:50:57 -04:00 |
Paveł Tyślacki
|
4bb859e246
|
Refs #30172 -- Prevented removing a field's check or unique constraint from removing Meta constraints.
|
2019-03-17 20:50:22 -04:00 |
Paveł Tyślacki
|
782d85b6df
|
Fixed #30183 -- Added introspection of inline SQLite constraints.
|
2019-03-13 10:24:28 -04:00 |
Hang Park
|
142e1ead76
|
Fixed #30242 -- Removed extra space before LIMIT/OFFSET SQL.
|
2019-03-09 21:32:20 +01:00 |
Paveł Tyślacki
|
4492be348a
|
Refs #30183 -- Moved SQLite table constraint parsing to a method.
|
2019-03-01 17:05:36 -05:00 |
Paveł Tyślacki
|
b777c0675e
|
Unified nonexistent foreign key introspection value for SQLite.
|
2019-03-01 15:51:37 -05:00 |
Mariusz Felisiak
|
9ff18c08c3
|
Refs #28643 -- Added MD5 database function.
Thanks Tim Graham, Nick Pope and Simon Charette for reviews.
|
2019-02-21 10:52:51 +01:00 |
Simon Charette
|
7071f8f272
|
Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on initialization.
This addressed a regression introduced by a96b901932 as identified by Ran Benita.
|
2019-02-20 10:59:40 +01:00 |
Jon Dufresne
|
76990cbbda
|
Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.
The error appeared after 8c775391b7 .
|
2019-02-14 10:04:55 -05:00 |
Daniel Bowring
|
cf826c9a91
|
Fixed #30173 -- Simplified db.backends.postgresql.client.
|
2019-02-13 17:12:02 -05:00 |
Dan Davis
|
2bd8df243a
|
Fixed #30184 -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581 (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
|
2019-02-13 13:59:44 -05:00 |
Sergey Fedoseev
|
1933e56eca
|
Removed uneeded generator expressions and list comprehensions.
|
2019-02-09 09:18:48 -05:00 |
Simon Charette
|
b8c48d06fa
|
Refs #26608 -- Added a database feature for fixed frame range distance support.
|
2019-02-09 08:47:41 -05:00 |
Simon Charette
|
ebd2fe1861
|
Refs #30027 -- Enabled window function tests on SQLite 3.25+.
|
2019-02-09 08:47:40 -05:00 |
Mariusz Felisiak
|
759a9b710c
|
Updated Oracle docs links to Oracle 18c.
|
2019-02-07 09:59:47 +01:00 |
Tim Graham
|
77d25dbd0f
|
Refs #27753 -- Favored SafeString over SafeText.
|
2019-02-06 14:12:06 -05:00 |
Aymeric Augustin
|
3bb6a4390c
|
Refs #27753 -- Favored force/smart_str() over force/smart_text().
|
2019-02-06 14:12:06 -05:00 |
Mariusz Felisiak
|
21bb71ef0d
|
Fixed #30157 -- Dropped support for Oracle 12.1.
Thanks Tim Graham for the review.
|
2019-02-06 19:25:04 +01:00 |
Tim Graham
|
39ebdf5a3c
|
Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.
|
2019-02-04 18:07:02 -05:00 |
Mariusz Felisiak
|
85f924a9b9
|
Refs #28859 -- Simplified fetch_returned_insert_id() by using int data type for binding variable on Oracle.
|
2019-02-04 16:31:23 +01:00 |
Johannes Hoppe
|
b131f9c79f
|
Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for other columns.
|
2019-01-30 15:31:56 -05:00 |
Tim Graham
|
7e6b214ed3
|
Fixed #30116 -- Dropped support for Python 3.5.
|
2019-01-30 10:19:48 -05:00 |
Dan Tao
|
738faf9da2
|
Fixed #30108 -- Allowed adding foreign key constraints in the same statement that adds a field.
|
2019-01-29 15:42:57 -05:00 |
Tim Graham
|
7444f32527
|
Refs #30055 -- Added a helpful error when SQLite is too old.
|
2019-01-28 11:14:45 -05:00 |
Nick Pope
|
bff748df3e
|
Fixed #30115 -- Fixed SQLite introspection crash with a varchar primary key.
Removed obsolete max_length handling for CharField that caused the issue.
Regression in a35d2a4510 .
|
2019-01-22 19:02:34 -05:00 |
Nick Pope
|
e19f58fc01
|
Inlined DatabaseIntrospection._table_info() for SQLite.
|
2019-01-22 18:23:37 -05:00 |
Mariusz Felisiak
|
709a8b861d
|
Optimized Oracle PKs introspection by adding get_primary_key_column().
|
2019-01-18 16:50:06 +01:00 |
Tim Graham
|
944469939b
|
Refs #25175 -- Removed db.backends.postgresql_psycopg2 per deprecation timeline.
|
2019-01-17 10:50:25 -05:00 |
Simon Charette
|
a96b901932
|
Refs #28478 -- Prevented timezone assignment for unusable PostgreSQL connections.
|
2019-01-14 16:05:00 -05:00 |
Nick Pope
|
abf8e390a4
|
Refs #28643 -- Added Reverse database function.
Thanks Mariusz Felisiak for Oracle advice and review.
|
2019-01-12 10:45:48 -05:00 |
Paveł Tyślacki
|
b69f8eb04c
|
Fixed #30062 -- Added support for unique conditional constraints.
|
2019-01-12 09:50:20 -05:00 |
Paveł Tyślacki
|
1e837c4b23
|
Used None as the empty value for condition in Index's SQL construction.
|
2019-01-12 09:34:10 -05:00 |
Paveł Tyślacki
|
647be06538
|
Renamed variables after generalization of constraints.
Follow up to 8eae094638 .
|
2019-01-10 18:54:41 -05:00 |
Simon Charette
|
bc05547cd8
|
Fixed #28658 -- Added DISTINCT handling to the Aggregate class.
|
2019-01-09 17:52:36 -05:00 |
Nick Pope
|
a35d2a4510
|
Refs #23748 -- Added AutoField introspection for SQLite.
|
2019-01-09 09:59:15 -05:00 |
Nick Pope
|
e7f0e9b704
|
Renamed import in MySQL introspection backend for consistency.
|
2019-01-09 08:12:45 -05:00 |
Mariusz Felisiak
|
97844a3213
|
Fixed typo in django/db/backends/base/features.py.
|
2019-01-03 20:10:33 +01:00 |
Paveł Tyślacki
|
0123b67f6b
|
Fixed #30060 -- Moved SQL generation for indexes and constraints to SchemaEditor.
|
2019-01-01 09:39:58 -05:00 |
Tim Graham
|
b74b6736d0
|
Refs #29547 -- Skipped an unsupported partial index test on older versions of SQLite.
Follow up to e5b8626c0e .
|
2018-12-26 11:20:11 -05:00 |
Simon Charette
|
ec7bf6d826
|
Refs #20483 -- Cached Oracle references retrieval on sql_flush().
|
2018-12-26 09:20:21 -05:00 |