Обсуждение: pgsql: Fix error reporting in reindexdb

Поиск
Список
Период
Сортировка

pgsql: Fix error reporting in reindexdb

От
Michael Paquier
Дата:
Fix error reporting in reindexdb

When failing to reindex a table or an index, reindexdb would generate an
extra error message related to a database failure, which is misleading.

Backpatch all the way down, as this has been introduced by 85e9a5a0.

Discussion: https://postgr.es/m/CAOBaU_Yo61RwNO3cW6WVYWwH7EYMPuexhKqufb2nFGOdunbcHw@mail.gmail.com
Author: Julien Rouhaud
Reviewed-by: Daniel Gustafsson, Álvaro Herrera, Tom Lane, Michael
Paquier
Backpatch-through: 9.4

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e17fba8d8f13a52b544478481c9505e2efe99dc2

Modified Files
--------------
src/bin/scripts/reindexdb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)