1
0
Fork 0

Merging upstream version 3.3.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 19:59:04 +01:00
parent 80a5571dc6
commit 0a3024bc6c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
11 changed files with 193 additions and 52 deletions

View file

@ -430,7 +430,7 @@ class PGExecute:
for sql in sqlparse.split(statement):
# Remove spaces, eol and semi-colons.
sql = sql.rstrip(";")
sql = sqlparse.format(sql, strip_comments=True).strip()
sql = sqlparse.format(sql, strip_comments=False).strip()
if not sql:
continue
try: