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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: pg_upgrade: Upgrade an Assert to a real 'if' test
Дата
Msg-id E1nX5gV-0013d2-1Q@gemulon.postgresql.org
обсуждение исходный текст
Список 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 <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m//202109040001.zky3wgv2qeqg@alvherre.pgsql

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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: pg_basebackup: Try to fix some failures on Windows.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: pg_upgrade: Upgrade an Assert to a real 'if' test