Re: Unable to compile postgres 13.1 on Slackware current x64

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Unable to compile postgres 13.1 on Slackware current x64
Дата
Msg-id 6f728bb717a30a78a16a10fe592fefa8921b8566.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Unable to compile postgres 13.1 on Slackware current x64  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Unable to compile postgres 13.1 on Slackware current x64  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, 2020-11-16 at 12:30 -0500, Tom Lane wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
> > It looks like something happened to ICU's boolean macros .  See this
> > commit in FreeBSD ports:
> > https://github.com/freebsd/freebsd-ports/commit/81a88b4506ec06d07be10d199170ef4003eb0e30
> 
> It'd be so nice if people would tell us about their problems, instead of
> just hacking-and-slashing.
> 
> In this case, I see one use of the constant TRUE in collationcmds.c,
> but I wonder how come that's there given that we deprecated upper-case
> TRUE some time ago.  I find it hard to believe that sprinkling "#include
> <stdbool.h>" into random places is either necessary (on modern platforms
> anyway) or a good idea (if we're not using <stdbool.h>, this seems pretty
> much guaranteed to break things); so I think the rest of that patch is
> foolhardy.

How about this patch?  It fixes the problem for me.

Yours,
Laurenz Albe

Вложения

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

Предыдущее
От: Atul Kumar
Дата:
Сообщение: autovacuum recommendations for Large tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unable to compile postgres 13.1 on Slackware current x64