Nazir Bilal Yavuz:
1- Setting different names for .pdb files for shared libraries only on the Windows OS. I think that is the correct fix, it just adds _shared suffix to .pdb files of shared libraries on the Windows OS.
How about renaming the .pdb files, but instead of adding _shared, rename both .pdb files to libpq.a.pdb and libpq.dll.pdb?
I think that would be much clearer than libpq.pdb and libpq_shared.pdb. Best, Wolfgang