Re: pgsql: Move I/O before the index_update_stats() buffer lock region.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Move I/O before the index_update_stats() buffer lock region. |
| Дата | |
| Msg-id | 2317336.1730601176@sss.pgh.pa.us обсуждение |
| Ответ на | pgsql: Move I/O before the index_update_stats() buffer lock region. (Noah Misch <noah@leadboat.com>) |
| Ответы |
Re: pgsql: Move I/O before the index_update_stats() buffer lock region.
|
| Список | pgsql-committers |
Noah Misch <noah@leadboat.com> writes:
> Move I/O before the index_update_stats() buffer lock region.
In branches before 17, this commit is causing some compilers
to complain:
index.c: In function 'index_update_stats':
index.c:2913:24: warning: 'relpages' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (rd_rel->relpages != (int32) relpages)
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
I'm seeing that with RHEL8's gcc 8.5.0, and trawling the buildfarm
shows at least 40 animals similarly unhappy. (I noticed this because
mamba, which is using -Werror, is actually failing.)
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера