pg_upgrade: Upgrade an Assert to a real 'if' test

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 9814c708c657a9f21fd1a36b5dc0f49ca2d01499
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2022-03-23T18:23:51Z
Releases: 14.3
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

Files

PathChange+/−
src/bin/pg_rewind/parsexlog.c modified +3 −1

Discussion

Cited messages not in the archive: /202109040001.zky3wgv2qeqg@alvherre.pgsql