Re: plpython vs _POSIX_C_SOURCE

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: plpython vs _POSIX_C_SOURCE
Date: 2023-01-25 04:28:35
Message-ID: 20230125042835.y7ikaqwku73kwssc@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2023-01-24 18:32:46 -0800, Andres Freund wrote:
> > I ran out of energy to test on aix with xlc, I spent way more time on this
> > than I have already. I'll pick it up later.
>
> Building in the background now.

Also passes.

Thus I think getting rid of the #undefines is the best plan going
forward. Fewer complicated rules to follow => fewer rule violations.

Patches attached.

Greetings,

Andres Freund

Attachment Content-Type Size
v1-0001-plpython-Avoid-the-need-to-redefine-printf-macros.patch text/x-diff 2.3 KB
v1-0002-plpython-Stop-undefining-_POSIX_C_SOURCE-_XOPEN_S.patch text/x-diff 2.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2023-01-25 04:35:01 Re: Perform streaming logical transactions by background workers and parallel apply
Previous Message Tom Lane 2023-01-25 03:56:10 Re: Fix to enum hashing for dump and restore