Re: [HACKERS] taking stdbool.h into use

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] taking stdbool.h into use
Дата
Msg-id fccaafe9-d154-16f3-f68f-ca1a1f61cc1f@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] taking stdbool.h into use  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [HACKERS] taking stdbool.h into use  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 12/26/17 23:10, Michael Paquier wrote:
> It would be nice to do something like that for GinTernaryValue in
> tsginidx.c by mapping directly to GIN_FALSE and GIN_TRUE depending on
> the input coming in gin_tsquery_consistent. The fix is more trivial
> there.

For GinTernaryValue, I think it's easier to just make it the same size
as bool, since it doesn't go onto disk.  My earlier patch did that.  I'm
not sure it's worth adding more code to copy the array around.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: Deadlock in multiple CIC.
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Deadlock in multiple CIC.