Re: [RFC] building postgres with meson

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [RFC] building postgres with meson
Date: 2022-02-06 17:06:41
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 10/13/21 16:06, Andrew Dunstan wrote:
> On 10/13/21 1:26 PM, Andres Freund wrote:
>>> pexports will be in the resulting path, and the build will use the
>>> native compiler.
>> I don't see pexports anywhere in the msys installation. I can see it available
>> on sourceforge, and I see a few others asking where to get it from in the
>> context of msys, and being pointed to manually downloading it.
> Weird. fairywren has it, which means that it must have been removed from
> the packages at some stage, fairly recently as fairywren isn't that old.
> I just confirmed the absence on a 100% fresh install.
> It is in Strawberry's c/bin directory.
>> Seems like we should consider using gendef instead of pexports, given it's
>> available in msys?
> Yeah. It's missing on my ancient msys animal (frogmouth), but it doesn't
> build --with-perl.
> jacana seems to have it.
> If you prep a patch I'll test it.

Here's a patch. I've tested the perl piece on master and it works fine.
It applies cleanly down to 9.4, which is before we got transform modules
(9.5) which fail if we just omit doing this platform-specific piece.

Before that only plpython uses pexports, and we're not committed to
supporting plpython at all on old branches.



Andrew Dunstan

Attachment Content-Type Size
gendef.patch text/x-patch 1.5 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-02-06 17:24:50 Re: [PATCH v2] use has_privs_for_role for predefined roles
Previous Message Joe Conway 2022-02-06 16:38:26 Re: [PATCH v2] use has_privs_for_role for predefined roles