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

event_trigger.c

Blame
    • Alvaro Herrera's avatar
      3f190f67
      Fix table_rewrite event trigger for ALTER TYPE/SET DATA TYPE CASCADE · 3f190f67
      Alvaro Herrera authored
      When a composite type being used in a typed table is modified by way
      of ALTER TYPE, a table rewrite occurs appearing to come from ALTER TYPE.
      The existing event_trigger.c code was unable to cope with that
      and raised a spurious error.  The fix is just to accept that command
      tag for the event, and document this properly.
      
      Noted while fooling with deparsing of DDL commands.  This appears to be
      an oversight in commit 618c9430.
      
      Thanks to Mark Wong for documentation wording help.
      3f190f67
      History
      Fix table_rewrite event trigger for ALTER TYPE/SET DATA TYPE CASCADE
      Alvaro Herrera authored
      When a composite type being used in a typed table is modified by way
      of ALTER TYPE, a table rewrite occurs appearing to come from ALTER TYPE.
      The existing event_trigger.c code was unable to cope with that
      and raised a spurious error.  The fix is just to accept that command
      tag for the event, and document this properly.
      
      Noted while fooling with deparsing of DDL commands.  This appears to be
      an oversight in commit 618c9430.
      
      Thanks to Mark Wong for documentation wording help.