aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-04-04 21:44:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-04-04 21:44:40 +0000
commit708f82f1916073ae9e7eafb661f68c19e3d65797 (patch)
tree6347172ace7ed49d871ecba227543c942465b398 /src/tutorial/funcs.source
parent30d4f58256c89b60f1ee7c4880e628145a531801 (diff)
downloadpostgresql-708f82f1916073ae9e7eafb661f68c19e3d65797.tar.gz
postgresql-708f82f1916073ae9e7eafb661f68c19e3d65797.zip
Fix bug noted by Bruce: FETCH in an already-aborted transaction block
would crash, due to premature invocation of SetQuerySnapshot(). Clean up problems with handling of multiple queries by splitting pg_parse_and_plan into two routines. The old code would not, for example, do the right thing with END; SELECT... submitted in one query string when it had been in transaction abort state, because it'd decide to skip planning the SELECT before it had executed the END. New arrangement is simpler and doesn't force caller to plan if only parse+rewrite is needed.
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions