pg_upgrade: Upgrade an Assert to a real 'if' test
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 23 Mar 2022 18:23:51 +0000 (19:23 +0100)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 23 Mar 2022 18:23:51 +0000 (19:23 +0100)
commit3e1c942a4e2f06e9b0196180eb8fd1383e6d788e
tree65334c9dfecb1b7e86e30511d7971f56c48c4d98
parent591767150f5f91ccc3614e71977c47ce7a68786b
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
src/bin/pg_rewind/parsexlog.c