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

syslogger.c

Blame
    • Tom Lane's avatar
      14ba9b11
      Fix failure to rotate postmaster log file for size reasons on Windows. · 14ba9b11
      Tom Lane authored
      When we eliminated "unnecessary" wakeups of the syslogger process, we
      broke size-based logfile rotation on Windows, because on that platform
      data transfer is done in a separate thread.  While non-Windows platforms
      would recheck the output file size after every log message, Windows only
      did so when the control thread woke up for some other reason, which might
      be quite infrequent.  Per bug #7814 from Tsunezumi.  Back-patch to 9.2
      where the problem was introduced.
      
      Jeff Janes
      14ba9b11
      History
      Fix failure to rotate postmaster log file for size reasons on Windows.
      Tom Lane authored
      When we eliminated "unnecessary" wakeups of the syslogger process, we
      broke size-based logfile rotation on Windows, because on that platform
      data transfer is done in a separate thread.  While non-Windows platforms
      would recheck the output file size after every log message, Windows only
      did so when the control thread woke up for some other reason, which might
      be quite infrequent.  Per bug #7814 from Tsunezumi.  Back-patch to 9.2
      where the problem was introduced.
      
      Jeff Janes