Re: [PATCH] Fix msvc_gendef.pl for aarch64 (Windows on Arm) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Fix msvc_gendef.pl for aarch64 (Windows on Arm)
Date
Msg-id 7249520a-9de8-481b-baf5-0c633f35032b@eisentraut.org
Whole thread Raw
In response to [PATCH] Fix msvc_gendef.pl for aarch64 (Windows on Arm)  (kenji uno <h8mastre@gmail.com>)
List pgsql-hackers
On 11.11.25 06:11, kenji uno wrote:
> I'm going to build psqlODBC (Arm64X binaries) for use with Windows 11 on 
> Arm.
> 
> The problem is that the `msvc_gendef.pl <http://msvc_gendef.pl>` 
> generates the wrong `postgres.def` for aarch64 (Windows).
> 
> Currently, for aarch64, the preceding underscore is removed like for x86.
> However, the expected functionality for aarch64 is the same as for x64: 
> keep the preceding underscore.

Here is a long-running thread about supporting Windows/MSVC on Arm: 
https://www.postgresql.org/message-id/flat/CAFPTBD-74%2BAEuN9n7caJ0YUnW5A0r-KBX8rYoEJWqFPgLKpzdg%40mail.gmail.com

The patch you sent is part of the overall patch set being discussed 
there but it is not sufficient by itself.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Drop unnamed portal immediately after execution to completion
Next
From: Boris Mironov
Date:
Subject: Idea to enhance pgbench by more modes to generate data (multi-TXNs, UNNEST, COPY BINARY)