It turns out that the relcache thinks it can distinguish different

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 668db147d5d20291a67749ee0102d70b81a108e7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-06-16T18:59:31Z
Releases: 7.2.1
It turns out that the relcache thinks it can distinguish different
rules and triggers by OID.  So, even though we have no cross-references
in the system catalogs to pg_rewrite.oid or pg_trigger.oid, we'd better
have unique indexes on them.  Put back pg_rewrite_oid_index, which I
mistakenly removed a few days ago, and add pg_trigger_oid_index.

Files