Alvaro Herrera wrote:
Andrew Dunstan escribió:+ /* make sure it's called as a trigger */ + if (!CALLED_AS_TRIGGER(fcinfo)) + elog(ERROR, "suppress_redundant_updates_trigger: must be called as trigger");Shouldn't these all be ereport()?
Good point. I'll fix them. Maybe we should fix our C sample trigger, from which this was taken. cheers andrew -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
