Defend against bad trigger definitions in contrib/lo's lo_manage() trigger.
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

yazun/postgres-xl,adam8157/gpdb,jmcatamney/gpdb,yazun/postgres-xl,50wu/gpdb,pavanvd/postgres-xl,50wu/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,pavanvd/postgres-xl,greenplum-db/gpdb,oberstet/postgres-xl,greenplum-db/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,adam8157/gpdb,lisakowen/gpdb,zeroae/postgres-xl,oberstet/postgres-xl,xinzweb/gpdb,jmcatamney/gpdb,yazun/postgres-xl,xinzweb/gpdb,adam8157/gpdb,yazun/postgres-xl,xinzweb/gpdb,adam8157/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,lisakowen/gpdb,ovr/postgres-xl,lisakowen/gpdb,greenplum-db/gpdb,ovr/postgres-xl,50wu/gpdb,ashwinstar/gpdb,xinzweb/gpdb,techdragon/Postgres-XL,ovr/postgres-xl,lisakowen/gpdb,adam8157/gpdb,greenplum-db/gpdb,adam8157/gpdb,50wu/gpdb,oberstet/postgres-xl,greenplum-db/gpdb,lisakowen/gpdb,50wu/gpdb,50wu/gpdb,xinzweb/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,zeroae/postgres-xl,pavanvd/postgres-xl,ovr/postgres-xl,Postgres-XL/Postgres-XL,techdragon/Postgres-XL,jmcatamney/gpdb,ovr/postgres-xl,jmcatamney/gpdb,adam8157/gpdb,Postgres-XL/Postgres-XL,zeroae/postgres-xl,ashwinstar/gpdb,50wu/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,lisakowen/gpdb,yazun/postgres-xl,jmcatamney/gpdb,jmcatamney/gpdb,pavanvd/postgres-xl,xinzweb/gpdb,ashwinstar/gpdb,zeroae/postgres-xl,adam8157/gpdb,xinzweb/gpdb,xinzweb/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,greenplum-db/gpdb,50wu/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,techdragon/Postgres-XL,techdragon/Postgres-XL,Postgres-XL/Postgres-XL,greenplum-db/gpdb