pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix defects in PrepareForIncrementalBackup.
Date: Wed, 03 Jan 2024 15:09:04 +0000
Message-ID: <E1rL2rf-00DIfy-MX@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1rL2rf-00DIfy-MX@gemulon.postgresql.org>
Permalink:  ../E1rL2rf-00DIfy-MX@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rL2rf-00DIfy-MX@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix defects in PrepareForIncrementalBackup.
  In-Reply-To: <E1rL2rf-00DIfy-MX@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox