Skip to content

Commit 659c988

Browse files
committed
Fix duplicate INSERT execution with RETURNING clause
Portal Describe was executing DML queries to get metadata, causing INSERT/UPDATE/DELETE with RETURNING to run twice. Now uses synthetic metadata for RETURNING clause and defers RowDescription to Execute phase for RETURNING * pattern. Fixes: - v1.2.19: Prevent Describe Portal from executing DML - v1.2.20: Handle RETURNING * by sending NoData in Describe - v1.2.21: Send RowDescription in Execute when Describe sent NoData Also includes: - UUID extraction from INSERT for RETURNING emulation (v1.2.16) - execute_many with RETURNING aggregation (v1.2.17) - None→NULL parameter binding fix (v1.2.18)
1 parent 8a548a8 commit 659c988

File tree

6 files changed

+927
-25
lines changed

6 files changed

+927
-25
lines changed

src/iris_pgwire/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
caretdev/sqlalchemy-iris.
77
"""
88

9-
__version__ = "1.2.14"
9+
__version__ = "1.2.21"
1010
__author__ = "Thomas Dyar <thomas.dyar@intersystems.com>"
1111

1212
# Don't import server/protocol in __init__ to avoid sys.modules conflicts

0 commit comments

Comments
 (0)