https://github.com/postgres/postgres
Revision 63b23420721cc80a6338d91fb687d1ddf3e3a1a9 authored by Tom Lane on 10 November 2005, 00:31:59 UTC, committed by Tom Lane on 10 November 2005, 00:31:59 UTC
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.
1 parent 74f224f
History
Tip revision: 63b23420721cc80a6338d91fb687d1ddf3e3a1a9 authored by Tom Lane on 10 November 2005, 00:31:59 UTC
When in transaction-aborted state, reject Bind message for portals containing
Tip revision: 63b2342
File Mode Size
config
contrib
doc
src
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 3.4 KB
Makefile -rw-r--r-- 1.4 KB
README -rw-r--r-- 1.3 KB
README.CVS -rw-r--r-- 767 bytes
aclocal.m4 -rw-r--r-- 442 bytes
configure -rwxr-xr-x 511.5 KB
configure.in -rw-r--r-- 39.0 KB

README

back to top