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.c

Blame
    • Tom Lane's avatar
      5ac59807
      More cleanup after failed reduced-lock-levels-for-DDL feature. · 5ac59807
      Tom Lane authored
      Turns out that use of ShareUpdateExclusiveLock or ShareRowExclusiveLock
      to protect DDL changes had gotten copied into several places that were
      not touched by either of Simon's original patches for the feature, and
      thus neither he nor I thought to revert them.  (Indeed, it appears that
      two of these uses were committed *after* the reversion, which just goes
      to show that git merging is no panacea.)  Change these places to use
      AccessExclusiveLock again.  If we ever manage to resurrect that feature,
      we're going to have to think a bit harder about how to keep lock level
      usage in sync for DDL operations that aren't within the AlterTable
      infrastructure.
      
      Two of these bugs are only in HEAD, but one is in the 9.1 branch too.
      Alvaro found one of them, I found the other two.
      5ac59807
      History
      More cleanup after failed reduced-lock-levels-for-DDL feature.
      Tom Lane authored
      Turns out that use of ShareUpdateExclusiveLock or ShareRowExclusiveLock
      to protect DDL changes had gotten copied into several places that were
      not touched by either of Simon's original patches for the feature, and
      thus neither he nor I thought to revert them.  (Indeed, it appears that
      two of these uses were committed *after* the reversion, which just goes
      to show that git merging is no panacea.)  Change these places to use
      AccessExclusiveLock again.  If we ever manage to resurrect that feature,
      we're going to have to think a bit harder about how to keep lock level
      usage in sync for DDL operations that aren't within the AlterTable
      infrastructure.
      
      Two of these bugs are only in HEAD, but one is in the 9.1 branch too.
      Alvaro found one of them, I found the other two.