From bc91f27a86090b4c688b56cd4e37f95eebe6e969 Mon Sep 17 00:00:00 2001 From: Johannes Hoppe Date: Mon, 10 Jun 2019 13:56:50 +0200 Subject: Refs #29444 -- Added support for fetching a returned non-integer insert values on Oracle. This is currently not actively used, since the ORM will ask the SQL compiler to only return auto fields. --- django/db/backends/postgresql/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/db/backends/postgresql') diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py index c502760e93..0c497edf71 100644 --- a/django/db/backends/postgresql/operations.py +++ b/django/db/backends/postgresql/operations.py @@ -235,7 +235,7 @@ class DatabaseOperations(BaseDatabaseOperations): return cursor.query.decode() return None - def return_insert_id(self): + def return_insert_id(self, field): return "RETURNING %s", () def bulk_insert_sql(self, fields, placeholder_rows): -- cgit v1.3