aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-11-10 00:31:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-11-10 00:31:49 +0000
commit55b5a42b6a0408a6eff2aba35967914264fc5451 (patch)
tree76ecc1193c443002edd577b0bcbdd4dad405691d /src/tutorial/basics.source
parentd70d39fbbb0ac7c455d018402384c3eb43abb2f7 (diff)
downloadpostgresql-55b5a42b6a0408a6eff2aba35967914264fc5451.tar.gz
postgresql-55b5a42b6a0408a6eff2aba35967914264fc5451.zip
When in transaction-aborted state, reject Bind message for portals containing
anything but transaction-exiting commands (ROLLBACK etc). We already rejected Parse and Execute in such cases, so there seems little point in allowing Bind. This prevents at least an Assert failure, and probably worse things, since there's a lot of infrastructure that doesn't work when not in a live transaction. We can also simplify the Bind logic a bit by rejecting messages with a nonzero number of parameters, instead of the former kluge to silently substitute NULL for each parameter. Per bug #2033 from Joel Stevenson.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions