Is it possible to get the names of the schema and function within a plpgsql function? It is possible to get this information inside a trigger using TG_TABLE_SCHEMA and TG_TABLE_NAME. I would like to get these values inside every function I write to display in all error messages. Regards Ken