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

lock.h

  • Marc G. Fournier's avatar
    fb70587c
    Patch from Massimo Dal Zotto <dz@cs.unitn.it> · fb70587c
    Marc G. Fournier authored
    The following patches add to the backend a new debugging flag -K which prints
    a debug trace of all locking operations on user relations (those with oid
    greater than 20000). The code is compiled only if LOCK_MGR_DEBUG is defined,
    so the patch should be harmless if not explicitly enabled.
    I'm using the code to trace deadlock conditions caused by application queries
    using the command "$POSTMASTER -D $PGDATA -o '-d 1 -K 1'.
    The patches are for version 6.0 dated 970126.
    fb70587c
    History
    Patch from Massimo Dal Zotto <dz@cs.unitn.it>
    Marc G. Fournier authored
    The following patches add to the backend a new debugging flag -K which prints
    a debug trace of all locking operations on user relations (those with oid
    greater than 20000). The code is compiled only if LOCK_MGR_DEBUG is defined,
    so the patch should be harmless if not explicitly enabled.
    I'm using the code to trace deadlock conditions caused by application queries
    using the command "$POSTMASTER -D $PGDATA -o '-d 1 -K 1'.
    The patches are for version 6.0 dated 970126.