diff options
Diffstat (limited to 'pgcli/pgexecute.py')
-rw-r--r-- | pgcli/pgexecute.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcli/pgexecute.py b/pgcli/pgexecute.py index 776c9628..6f7bd715 100644 --- a/pgcli/pgexecute.py +++ b/pgcli/pgexecute.py @@ -373,9 +373,9 @@ class PGExecute(object): for sql in sqlparse.split(statement): # Remove spaces, eol and semi-colons. sql = sql.rstrip(";") + sql = sqlparse.format(sql, strip_comments=True).strip() if not sql: continue - try: if pgspecial: # \G is treated specially since we have to set the expanded output. |