Re: pgsql: pg_rewind: Fix determining TLI when server was just promoted.

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2023-02-27T16:57:04Z
Lists: pgsql-hackers
On Thu, Feb 23, 2023 at 8:40 AM Heikki Linnakangas
<heikki.linnakangas@iki.fi> wrote:
> This is arguably a bug fix, but don't backpatch because we haven't
> really treated it as a bug so far.

I guess I'm having trouble understanding why this is only arguably a
bug fix. Seems like flat-out wrong behavior.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. pg_rewind: Fix determining TLI when server was just promoted.