diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-11-23 22:45:46 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-11-23 22:46:43 -0500 |
commit | 64d15e424091d8fd2c882356ee4bf07cfc5ff69d (patch) | |
tree | d609385e4fb7e31d0d1259d1e5808df0311c321a /src/backend/tcop/postgres.c | |
parent | a5036ca998a6058f60913d43a80badfcbb65f5bb (diff) | |
download | postgresql-64d15e424091d8fd2c882356ee4bf07cfc5ff69d.tar.gz postgresql-64d15e424091d8fd2c882356ee4bf07cfc5ff69d.zip |
Defend against bad trigger definitions in contrib/lo's lo_manage() trigger.
This function formerly crashed if called as a statement-level trigger,
or if a column-name argument wasn't given.
In passing, add the trigger name to all error messages from the function.
(None of them are expected cases, so this shouldn't pose any compatibility
risk.)
Marc Cousin, reviewed by Sawada Masahiko
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions