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: