Re: msvc directory missing in PostgreSQL 17.0

From: Bill Smith <bill(dot)smith(at)enterprisedb(dot)com>
To: Mark Hill <Mark(dot)Hill(at)sas(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: msvc directory missing in PostgreSQL 17.0
Date: 2024-10-23 12:25:11
Message-ID: 269699A2-3A24-4301-8B6A-85912BBC93CE@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Check out this:
https://wiki.postgresql.org/wiki/Meson

There's a table showing the setup & build commands using the old way and the new way (meson).

> On Oct 21, 2024, at 4:12 PM, Mark Hill <Mark(dot)Hill(at)sas(dot)com> wrote:
>
> Thanks Bill! Do you have a sample meson command for building that you could share?
>
> Thanks, Mark
>
> From: Bill Smith <bill(dot)smith(at)enterprisedb(dot)com <mailto:bill(dot)smith(at)enterprisedb(dot)com>>
> Sent: Friday, October 18, 2024 4:11 PM
> To: Mark Hill <Mark(dot)Hill(at)sas(dot)com <mailto:Mark(dot)Hill(at)sas(dot)com>>
> Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org <mailto:pgsql-hackers(at)lists(dot)postgresql(dot)org>
> Subject: Re: msvc directory missing in PostgreSQL 17.0
>
> EXTERNAL
>
>
>
>
> On Oct 18, 2024, at 4:05 PM, Mark Hill <Mark(dot)Hill(at)sas(dot)com <mailto:Mark(dot)Hill(at)sas(dot)com>> wrote:
>
> I just downloaded the Postgresql 17.0 and the extracted directory postgresql-17.0/src/tools does not contain
> the “msvc” directory as it has since I’ve been building Postgres 12, 14, and 16. How am I supposed to build
> PostgreSQL for Windows now? I’m not sure what msvc_gendef.pl does. How do we build Postgres for Windows
> using Visual Studio?
>
>
> You’ll want to use meson to build PG. See the docs here:
> <image001.png>
> 17.7. Platform-Specific Notes <https://protect.checkpoint.com/v2/r01/___https://www.postgresql.org/docs/current/installation-platform-notes.html%23INSTALLATION-NOTES-VISUAL-STUDIO___.YzJ1OnNhc2luc3RpdHV0ZTpjOm86OWJiYTkyOGQ4NDg2ZWRhYjhlMjJkNGUzOGNmNjgxYjc6NzowNDYzOmRlNGQ2ZGI4MWYwNTVhNDUzM2Q4ZTc2NWYwZGJlMzQyMGI1YjE3ZDc4MWJjOTY2YTE0ZjAwMTg1ZDE0NjYxOWM6aDpUOk4>
> postgresql.org <https://protect.checkpoint.com/v2/r01/___https://www.postgresql.org/docs/current/installation-platform-notes.html%23INSTALLATION-NOTES-VISUAL-STUDIO___.YzJ1OnNhc2luc3RpdHV0ZTpjOm86OWJiYTkyOGQ4NDg2ZWRhYjhlMjJkNGUzOGNmNjgxYjc6Nzo3ZjViOmI0YTgyMGRhMTA2MGY4NDE0OTcyOGQxMWU0MDA4MmE1ZWMzMjg1YjM4YTY2ZjBhZTQwMmZjOGYzNTE1MzNjYzU6aDpUOk4>
>
>
> Thanks, Mark

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Sjoblom 2024-10-23 13:18:52 Re: Unexpected table size usage for small composite arrays
Previous Message Robert Haas 2024-10-23 11:46:58 Re: allowing extensions to control planner behavior