Re: AIX support - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: AIX support
Date
Msg-id aXw8QDOu2OxPpeTH@paquier.xyz
Whole thread Raw
In response to Re: AIX support  (Michael Paquier <michael@paquier.xyz>)
Responses RE: AIX support
List pgsql-hackers
On Fri, Jan 30, 2026 at 01:38:42PM +0900, Michael Paquier wrote:
> While looking at the whole object dependency tree in the builds, I
> have settled down to a reuse of the same logic as guc_tables.inc.c for
> configure/make, by pushing down one level the generation of the three
> wait event files.  These are not anymore saved in
> src/backend/utils/activity/, just src/backend/utils/, including them
> under header-stamp.  Building directly in src/backend/utils/activity/
> also works, with two rules in src/backend/utils/activity/Makefile to
> force a rebuild.  The files are then included as if they were in
> include/utils/, with the generation of links from src/backend/utils/
> to src/include/utils/, just like guc_tables.inc.c.  That's the least
> invasive method I could come up with.
>
> I have run out of tokens for the CI this month, so I have not been
> able to check it there.  My manual tests across all three build
> methods are working.

Scratch that a bit..  Some grepping is pointing out that
generated_sources_ac would become incorrect in
src/include/utils/meson.build.

Three paths in wait_event_names.txt were also inconsistent.  It is
worth noting that the sgml path is entirely wrong, this is generated
in doc/src/sgml/.

Comments and thoughts are welcome.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: VASUKI M
Date:
Subject: Re: Optional skipping of unchanged relations during ANALYZE?
Next
From: Corey Huinker
Date:
Subject: Add expressions to pg_restore_extended_stats()