]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commitd8718edf6017ba647abb2715d6196ca53bb3aec6
treeb14b3afbab239b78d82ed96014a41973739f04d1
parent9ade3c09a5d11f4be91b5e180832abd2dbc2c55d
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