Priess Stefan <stefan.priess@xxxxxxxxxxxxxxx> writes: > up to version 9.6.22 there was a win32.mak file in the src/interfaces/libpw folder which could be used to compile a static postgres.lib using nmake. Since Postgres 10 this file has been removed. Yup. It didn't really work right and there was insufficient interest in maintaining it. > Is it still possilbe to build a static postgres.lib for windows ? And if so, how do I do it. Run the normal build process using MSVC, and then just take libpq.lib from the results. On any modern machine that's just going to take a few minutes, so it's not worth maintaining a separate libpq-only build path. regards, tom lane