pgsql: pg_upgrade: Upgrade an Assert to a real 'if' test - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: pg_upgrade: Upgrade an Assert to a real 'if' test
Date
Msg-id E1nX5gV-0013d0-0x@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pg_upgrade: Upgrade an Assert to a real 'if' test

It seems possible for the condition being tested to be true in
production, and nobody would never know (except when some data
eventually becomes corrupt?).

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m//202109040001.zky3wgv2qeqg@alvherre.pgsql

Branch
------
REL_13_STABLE

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

Modified Files
--------------
src/bin/pg_rewind/parsexlog.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: pg_basebackup: Try to fix some failures on Windows.
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: pg_upgrade: Upgrade an Assert to a real 'if' test