pg_trigger's index on tgrelid is replaced by a unique index on

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

Commit: 201737168c4ed5b14313d111d8d746c7f072f24e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-04-19T16:36:08Z
Releases: 7.3.1
pg_trigger's index on tgrelid is replaced by a unique index on
(tgrelid, tgname).  This provides an additional check on trigger name
uniqueness per-table (which was already enforced by the code anyway).
With this change, RelationBuildTriggers will read the triggers in
order by tgname, since it's scanning using this index.  Since a
predictable trigger ordering has been requested for some time, document
this behavior as a feature.  Also document that rules fire in name
order, since yesterday's changes to pg_rewrite indexing cause that too.

Files