Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

trigger.sgml

  • Tom Lane's avatar
    20173716
    pg_trigger's index on tgrelid is replaced by a unique index on · 20173716
    Tom Lane authored
    (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.
    20173716
    History
    pg_trigger's index on tgrelid is replaced by a unique index on
    Tom Lane authored
    (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.