- Notifications
You must be signed in to change notification settings - Fork5
Commitda4e00b
committed
When in transaction-aborted state, reject Bind message for portals containing
anything but transaction-exiting commands (ROLLBACK etc). We already rejectedParse and Execute in such cases, so there seems little point in allowing Bind.This prevents at least an Assert failure, and probably worse things, sincethere's a lot of infrastructure that doesn't work when not in a livetransaction. We can also simplify the Bind logic a bit by rejecting messageswith a nonzero number of parameters, instead of the former kluge to silentlysubstitute NULL for each parameter. Per bug #2033 from Joel Stevenson.1 parent0dd92d5 commitda4e00b
1 file changed
+159
-159
lines changed0 commit comments
Comments
(0)