From f6b879233c1c9f554a43094e1d82d3e16cff23fa Mon Sep 17 00:00:00 2001 From: Khushboo Vashi Date: Mon, 3 Jul 2017 15:49:59 +0100 Subject: [PATCH] Fix deletion of table rows with the column definition having NOT NULL TRUE and HAS NO DEFAULT VALUE. Fixes #2527 --- web/pgadmin/tools/sqleditor/command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web/pgadmin/tools/sqleditor/command.py b/web/pgadmin/tools/sqleditor/command.py index 3b7efd0b2..94aec09ee 100644 --- a/web/pgadmin/tools/sqleditor/command.py +++ b/web/pgadmin/tools/sqleditor/command.py @@ -464,6 +464,7 @@ class TableCommand(GridCommand): continue column_type = {} + column_data = {} for each_col in columns_info: if ( columns_info[each_col]['not_null'] and