]> granicus.if.org Git - postgresql/commit
Add a check for trigger function with declared arguments. This path
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Jul 2005 16:42:10 +0000 (16:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Jul 2005 16:42:10 +0000 (16:42 +0000)
commit6e2ff6e89aed651ec8b051dee4f65aa5224d1119
tree2a97b8353aea30d8260b386a94bf1a009fc57ac5
parent99382f45815d2720196e6d2510391d5781d0f46c
Add a check for trigger function with declared arguments.  This path
could not be reached before, but now that there is a plpgsql validator
function, it can be.  Check is needed to prevent core dump reported by
Satoshi Nagayasu.  Besides, this gives a more specific and useful
error message for a fairly common novice error.
src/pl/plpgsql/src/pl_comp.c