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

From Robert Haas
Subject pgsql: Fix defects in PrepareForIncrementalBackup.
Date
Msg-id E1rL2rf-00DIfy-MX@gemulon.postgresql.org
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/8b686764-7ac1-74c3-70f9-b64685a2535f@gmail.com

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