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 [email protected]
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 <[email protected]>
Discussion: https://postgr.es/m//[email protected]

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8e0c76be195e1ec732b750e702b84592293bd8d8

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