Ezequiel Tolnay <mail@xxxxxxxxxxxxxx> writes: > I tried to implement a trigger on pg_proc, but that is not possible. > Adding a rule to the pg_proc table was successful but it never executes. Sorry, we don't support either rules or triggers on the system catalogs. regards, tom lane