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)
commit9814c708c657a9f21fd1a36b5dc0f49ca2d01499
treed0987afb1ba0394483b31ce25cc214de03064b5b
parentcaaeb88ff7ae84a3bbf0ee497a4bda18cf9261cd
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