Hi, On Tue, May 12, 2026 at 6:04 PM David G. Johnston <[email protected]> wrote: > > On Tuesday, May 12, 2026, Igor Korot <[email protected]> wrote: >> >> >> So then I thought about creating MSVC project for building libpq as a >> dependency. All I need is to produce a basic default build of both Debug and >> Release builds of libpq only. No server and no ther software needed. Prefer >> to build version 17.4. > > > > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=1301c80b2167feb658a738fa4ceb1c23d0991e23 > > You seem to have put yourself into cutting edge PostgreSQL territory while > remaining firmly old-school on the OS side of things…not usually a good place > to find oneself. > > My LLM guided understanding is your likely 9.6 tool path was removed in favor > of meson back in 2023. But meson itself is still working out the rough edges > for stuff like a defined target for a libpq-only build and install.
I think CMake would be better. At the very least its cross-platform and its much more stable... But that's fine. Is there any official docs on how to build the library and what to install? Thank you. > > There is no guarantee or real attempt to keep modern supported versions > running on software obsoleted before they even came into existence. You may > or may not be able to finagle make/meson to do what you are attempting and > the desire to help is limited. You may wish to consult an LLM of your choice > for assistance. For something like this they can be very helpful with little > downside. > > David J. >
