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

src

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    We need to avoid calling WaitLatch with timeouts exceeding INT_MAX.
    Fortunately a simple clamp will do the trick, since no harm is done if
    the wait times out before it's really time to rotate the log file.
    Per bug #7670 (probably bug #7545 is the same thing, too).
    
    In passing, fix bogus definition of log_rotation_age's maximum value in
    guc.c --- it was numerically right, but only because MINS_PER_HOUR and
    SECS_PER_MINUTE have the same value.
    
    Back-patch to 9.2.  Before that, syslogger wasn't using WaitLatch.
    d038966d
    History
    Name Last commit Last update
    ..