Re: Portability report: ninja - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Portability report: ninja
Date
Msg-id CA+hUKGLbxN2WB+xwrTSCWnWQRkmYF1MLgYm7=b+a-2V64XRYsg@mail.gmail.com
Whole thread Raw
In response to Portability report: ninja  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Portability report: ninja
List pgsql-hackers
On Tue, Nov 2, 2021 at 8:25 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 6. While configure.py thinks it knows what to do on AIX, it fails
> on AIX 7.1 and 7.2:
>
> Traceback (most recent call last):
>   File "./configure.py", line 544, in <module>
>     if platform.is_aix() and not platform.is_os400_pase():
>   File "./configure.py", line 103, in is_os400_pase
>     return self._platform == 'os400' or os.uname().sysname.startswith('OS400')
> AttributeError: 'tuple' object has no attribute 'sysname'

Yeah, the result type changed: os.uname()[0] works on python2 AND python3.



pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: Delegating superuser tasks to new security roles (Was: Granting control of SUSET gucs to non-superusers)
Next
From: Thomas Munro
Date:
Subject: Re: Portability report: ninja