Is it possible for a pl/pgsql trigger function to look at the sql command that caused it to be triggered? If not, is this an idea?
Chris