Re: [HACKERS] taking stdbool.h into use
От | Peter Eisentraut |
---|---|
Тема | Re: [HACKERS] taking stdbool.h into use |
Дата | |
Msg-id | 884e8b75-5550-7b9e-1a6f-cd1c268fdfe1@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] taking stdbool.h into use (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: [HACKERS] taking stdbool.h into use
Re: [HACKERS] taking stdbool.h into use |
Список | pgsql-hackers |
On 3/21/18 01:51, Tom Lane wrote: > Andres Freund <andres@anarazel.de> writes: >> On March 20, 2018 8:24:41 PM PDT, Michael Paquier <michael@paquier.xyz> wrote: >>> Yeah, I agree with that. Just not using stdbool.h in those cases ought >>> to be fine. Any platforms where sizeof(bool) is 4 involves macos older >>> than 10.5 and Windows platforms using MSVC versions older than 2003 >>> (didn't look further down either). > >> Aren't there some somewhat modern architectures where that's still the case, for performance reasons? PPC or such? > > Well, hydra (F16 on ppc64) has sizeof(bool) = 1. Don't have any other > good datapoints handy. Presumably we'd set up configure to report > what it found out, so it wouldn't take long to survey the buildfarm. I've pushed the configure tests. Let's see what they say. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: