pgsql: Fix defects in PrepareForIncrementalBackup.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix defects in PrepareForIncrementalBackup.
Date: 2024-01-03 15:09:04
Message-ID: E1rL2rf-00DIfy-MX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2024-01-03 15:50:24 Re: pgsql: Reorganise jsonpath operators and methods
Previous Message Peter Eisentraut 2024-01-03 12:20:43 Re: pgsql: Make all Perl warnings fatal