pgsql: Fix defects in PrepareForIncrementalBackup. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix defects in PrepareForIncrementalBackup.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Fix defects in PrepareForIncrementalBackup.

Swap the arguments to TimestampDifferenceMilliseconds so that we get
a positive answer instead of zero.

Then use the result of that computation instead of ignoring it.

Per reports from Alexander Lakhin.

Discussion: http://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dffde5bf16a590543a35bedffc936a33686651d4

Modified Files
--------------
src/backend/backup/basebackup_incremental.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Make all Perl warnings fatal
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Reorganise jsonpath operators and methods