From 3ce191e8d3396857100f765a3b36d3f2bedf25f6 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Thu, 31 Aug 2017 08:25:29 -0400 Subject: [PATCH] [#3786] remove unused variable --- ckanext/datastore/backend/postgres.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ckanext/datastore/backend/postgres.py b/ckanext/datastore/backend/postgres.py index 292ae8074d4..8abcf6b00ec 100644 --- a/ckanext/datastore/backend/postgres.py +++ b/ckanext/datastore/backend/postgres.py @@ -1000,9 +1000,6 @@ def upsert_data(context, data_dict): records = data_dict['records'] sql_columns = ", ".join( identifier(name) for name in field_names) - sql_full_text = " || ' ' || ".join( - identifier(name) + "::text" - for name in field_names) if method == _INSERT: rows = []