Re: Relation bulk write facility

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Relation bulk write facility
Дата
Msg-id 820444.1708704361@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Relation bulk write facility  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> Thanks, the error message was clear enough:
>> bulk_write.c:78:3: error: redefinition of typedef 'BulkWriteState' is a C11 feature [-Werror,-Wtypedef-redefinition]
>> } BulkWriteState;

> Fixed now, but I'm a bit surprised other buildfarm members nor cirrus CI
> caught that. I also tried to reproduce it locally by adding
> -Wtypedef-redefinition, but my version of clang didn't produce any
> warnings. Are there any extra compiler options on those animals or
> something?

They use Apple's standard compiler (clang 15 or so), but

     'CC' => 'ccache clang -std=gnu99',

so maybe the -std has something to do with it.  I installed that
(or -std=gnu90 as appropriate to branch) on most of my build
setups back when we started the C99 push.

            regards, tom lane



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Relation bulk write facility
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: SQL Property Graph Queries (SQL/PGQ)