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

postgres-lambda-diff

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    ResourceOwner mechanism already released all reference counts for the
    cache entries; therefore, we do not need to scan the catcache or relcache
    at transaction end, unless we want to do it as a debugging crosscheck.
    Do the crosscheck only in Assert mode.  This is the same logic we had
    previously installed in AtEOXact_Buffers to avoid overhead with large
    numbers of shared buffers.  I thought it'd be a good idea to do it here
    too, in view of Kari Lavikka's recent report showing a real-world case
    where AtEOXact_CatCache is taking a significant fraction of runtime.
    4568e0f7
    History
    Name Last commit Last update