Re: Busted includes somewhere near worker_internal.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Busted includes somewhere near worker_internal.h
Дата
Msg-id 4149152.1595098758@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Busted includes somewhere near worker_internal.h  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2020-07-17 16:09:14 -0400, Tom Lane wrote:
>> headerscheck and cpluspluscheck are both unhappy about this:
>> ./src/include/replication/worker_internal.h:49:2: error: unknown type name 'slock_t'
>>     slock_t  relmutex;
>>     ^~~~~~~

> I think including spin.h is the right fix, given that it needs to know
> the size of s_lock.

Done that way.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Default setting for enable_hashagg_disk
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: CID 1428952 (#1 of 1): Out-of-bounds access (OVERRUN) (src/backend/commands/async.c)