]> granicus.if.org Git - postgresql/commit
Fix plpgsql so that when a local variable has no initial-value expression,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Feb 2007 19:22:07 +0000 (19:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Feb 2007 19:22:07 +0000 (19:22 +0000)
commit6994d0b891949ac2c4a9cea01d4e8c8f289b8c79
tree927bd04c838b9104cafa9cf2190e5a95ab219668
parentdb047e571d746893682e4a33e789c045696da626
Fix plpgsql so that when a local variable has no initial-value expression,
an error will be thrown correctly if the variable is of a NOT NULL domain.
Report and almost-correct fix from Sergiy Vyshnevetskiy (bug #2948).
src/pl/plpgsql/src/pl_exec.c
src/test/regress/expected/domain.out
src/test/regress/sql/domain.sql