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

async.c

Blame
    • Tom Lane's avatar
      ae90128d
      Fix NOTIFY to cope with I/O problems, such as out-of-disk-space. · ae90128d
      Tom Lane authored
      The LISTEN/NOTIFY subsystem got confused if SimpleLruZeroPage failed,
      which would typically happen as a result of a write() failure while
      attempting to dump a dirty pg_notify page out of memory.  Subsequently,
      all attempts to send more NOTIFY messages would fail with messages like
      "Could not read from file "pg_notify/nnnn" at offset nnnnn: Success".
      Only restarting the server would clear this condition.  Per reports from
      Kevin Grittner and Christoph Berg.
      
      Back-patch to 9.0, where the problem was introduced during the
      LISTEN/NOTIFY rewrite.
      ae90128d
      History
      Fix NOTIFY to cope with I/O problems, such as out-of-disk-space.
      Tom Lane authored
      The LISTEN/NOTIFY subsystem got confused if SimpleLruZeroPage failed,
      which would typically happen as a result of a write() failure while
      attempting to dump a dirty pg_notify page out of memory.  Subsequently,
      all attempts to send more NOTIFY messages would fail with messages like
      "Could not read from file "pg_notify/nnnn" at offset nnnnn: Success".
      Only restarting the server would clear this condition.  Per reports from
      Kevin Grittner and Christoph Berg.
      
      Back-patch to 9.0, where the problem was introduced during the
      LISTEN/NOTIFY rewrite.