]> granicus.if.org Git - postgresql/commit
plpgsql's exec_eval_simple_expr() now has to take responsibility for
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Dec 2004 20:20:27 +0000 (20:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Dec 2004 20:20:27 +0000 (20:20 +0000)
commite184663b242f5b9d6088d55d0bd72aeab1713cdf
treecd768653a100d059a71a2922914c678321b4ab30
parent1553be4a0bdff56214902a26fa62f0c09be15f6b
plpgsql's exec_eval_simple_expr() now has to take responsibility for
advancing ActiveSnapshot when we are inside a volatile function.
Per example from Gaetano Mendola.  Add a regression test to catch
similar problems in future.
src/pl/plpgsql/src/pl_exec.c
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql