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

inval.h

  • Tom Lane's avatar
    bbbc00af
    Clean up some longstanding problems in shared-cache invalidation. · bbbc00af
    Tom Lane authored
    SI messages now include the relevant database OID, so that operations
    in one database do not cause useless cache flushes in backends attached
    to other databases.  Declare SI messages properly using a union, to
    eliminate the former assumption that Oid is the same size as int or Index.
    Rewrite the nearly-unreadable code in inval.c, and document it better.
    Arrange for catcache flushes at end of command/transaction to happen before
    relcache flushes do --- this avoids loading a new tuple into the catcache
    while setting up new relcache entry, only to have it be flushed again
    immediately.
    bbbc00af
    History
    Clean up some longstanding problems in shared-cache invalidation.
    Tom Lane authored
    SI messages now include the relevant database OID, so that operations
    in one database do not cause useless cache flushes in backends attached
    to other databases.  Declare SI messages properly using a union, to
    eliminate the former assumption that Oid is the same size as int or Index.
    Rewrite the nearly-unreadable code in inval.c, and document it better.
    Arrange for catcache flushes at end of command/transaction to happen before
    relcache flushes do --- this avoids loading a new tuple into the catcache
    while setting up new relcache entry, only to have it be flushed again
    immediately.