]> granicus.if.org Git - postgresql/commit
Add code to check that IF/WHILE/EXIT test expressions are boolean,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Oct 2003 21:47:42 +0000 (21:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Oct 2003 21:47:42 +0000 (21:47 +0000)
commit04b40923d6c9f5925e4701978f1f652ab1f05260
tree0f36199deee3cda47f1f27fc5adb19289a06b338
parent55d85f42a891a812a9bbd69ebe530651a2f31624
Add code to check that IF/WHILE/EXIT test expressions are boolean,
and try to coerce the values to boolean if not.  Per recent discussions.
src/pl/plpgsql/src/pl_exec.c