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

storage

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    transaction as aborted.  Since we only call XactLockTableWait on XIDs
    that we believe to be currently running, the odds of this code ever
    actually firing are minimal.  It's certainly unnecessary, since a
    transaction that's not either running or committed will be presumed
    aborted anyway.  What's more, it's not hard to imagine scenarios where
    this could result in corrupting pg_clog: for instance, if a bogus XID
    somehow got passed to XactLockTableWait.  I think the code probably
    dates from the ancient era when we didn't have TransactionIdIsInProgress;
    back then it may have been necessary, but now I think it's a waste of
    cycles and potentially dangerous.  Per discussion with Qingqing Zhou
    and Karsten Hilbert.
    39fc1fb0
    History
    Name Last commit Last update
    ..