| От | Tom Lane |
|---|---|
| Тема | Re: Bug in reindexdb's error reporting |
| Дата | |
| Msg-id | 25087.1557499430@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug in reindexdb's error reporting (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: Bug in reindexdb's error reporting
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-May-10, Julien Rouhaud wrote:
>> I just noticed that reindexdb could report an extraneous message
>> saying an error happened while reindexing a database if it failed
>> reindexing a table or an index.
> Kudos, good find -- that's a 14 years old bug, introduced in this commit:
Yeah :-(.
Patch is good as far as it goes, but I wonder if it'd be smarter to
convert the function's "type" argument from a string to an enum,
and then replace the if/else chains with switches?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера