summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/features.py
diff options
context:
space:
mode:
authorJohannes Hoppe <info@johanneshoppe.com>2019-07-24 08:42:41 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-09 10:51:14 +0200
commit7254f1138d9c51fa558229c39c9559b369c4278a (patch)
treefc375187018082446c90deb772ac3ce96406c13b /django/db/backends/postgresql/features.py
parent736e7d44de395b867011ff9237dc5fdcfd28ee66 (diff)
downloaddjango-7254f1138d9c51fa558229c39c9559b369c4278a.tar.gz
Refs #29444 -- Allowed returning multiple fields from INSERT statements on PostgreSQL.
Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews.
Diffstat (limited to 'django/db/backends/postgresql/features.py')
-rw-r--r--django/db/backends/postgresql/features.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py
index 907ba136fb..866a0f98e7 100644
--- a/django/db/backends/postgresql/features.py
+++ b/django/db/backends/postgresql/features.py
@@ -8,6 +8,7 @@ from django.utils.functional import cached_property
class DatabaseFeatures(BaseDatabaseFeatures):
allows_group_by_selected_pks = True
can_return_columns_from_insert = True
+ can_return_multiple_columns_from_insert = True
can_return_rows_from_bulk_insert = True
has_real_datatype = True
has_native_uuid_field = True