wal writer: obsolete sentence - Mailing list pgsql-hackers

From Euler Taveira
Subject wal writer: obsolete sentence
Date
Msg-id f429aab9-0840-4043-901d-68d2231197b4@app.fastmail.com
Whole thread Raw
List pgsql-hackers
Hi,

I'm wondering if the following sentence about time resolution is still true. It
is still like that since the initial wal writer commit [1].

    If this value is specified without units, it is taken as milliseconds.
    The default value is 200 milliseconds (<literal>200ms</literal>).  Note that
    on some systems, the effective resolution of sleep delays is 10 
    milliseconds; setting <varname>wal_writer_delay</varname> to a value that is
    not a multiple of 10 might have the same results as setting it to the
    next higher multiple of 10. This parameter can only be set in the

The commit 623cc673 removed gettimeofday() in favor of CLOCK_MONOTONIC /
CLOCK_REALTIME in *nix platforms. Windows also has some modern API after
commits 24c3ce8f and 495ed0ef deprecated support for old releases [2]. I
inspected the buildfarm to see if there might be any animals whose sentence
might be true but I don't think so.




--
Euler Taveira

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Non-text mode for pg_dumpall
Next
From: Jeff Davis
Date:
Subject: Re: Statistics import and export: difference in statistics of materialized view dumped