diff --git a/web/pgadmin/utils/driver/psycopg2/__init__.py b/web/pgadmin/utils/driver/psycopg2/__init__.py index f5346ba87..56dfbca65 100644 --- a/web/pgadmin/utils/driver/psycopg2/__init__.py +++ b/web/pgadmin/utils/driver/psycopg2/__init__.py @@ -877,6 +877,9 @@ class Driver(BaseDriver): value = None for val in args: + if type(val) == list: + return map(lambda w: Driver.qtIdent(conn, w), val) + if len(val) == 0: continue