Re: pgsql: reindexdb: Add the index-level REINDEX with multiple jobs

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: pgsql: reindexdb: Add the index-level REINDEX with multiple jobs
Дата
Msg-id CAApHDvopqUZA2ZLR2YawKWeztJohPxgjjwhXvckU-OOAwHPZoA@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: reindexdb: Add the index-level REINDEX with multiple jobs  (Alexander Korotkov <akorotkov@postgresql.org>)
Список pgsql-committers
On Mon, 25 Mar 2024 at 13:07, Alexander Korotkov
<akorotkov@postgresql.org> wrote:
> reindexdb: Add the index-level REINDEX with multiple jobs

This seems to cause a new compiler warning:

reindexdb.c: In function ‘reindex_one_database’:
reindexdb.c:437:45: warning: ‘indices_tables_cell’ may be used
uninitialized [-Wmaybe-uninitialized]
  437 |                         indices_tables_cell = indices_tables_cell->next;
      |                         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
reindexdb.c:280:31: note: ‘indices_tables_cell’ was declared here
  280 |         SimpleStringListCell *indices_tables_cell;
      |                               ^~~~~~~~~~~~~~~~~~~

which is causing problems in -Werror buildfarm members like mamba [1]

David

 [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mamba&dt=2024-03-25%2001%3A03%3A35



В списке pgsql-committers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: pgsql: Allow planner to use Merge Append to efficiently implement UNION
Следующее
От: Masahiko Sawada
Дата:
Сообщение: pgsql: Fix potential integer handling issue in radixtree.h.