testclient.exe installed under MSVC

Noah Misch <noah@leadboat.com>

From: Noah Misch <noah@leadboat.com>
To: pchampion@vmware.com, daniel@yesql.se
Cc: pgsql-hackers@postgresql.org
Date: 2022-05-01T08:07:06Z
Lists: pgsql-hackers
My annual audit for executables missing Windows icons turned up these:

        pginstall/bin/testclient.exe
        pginstall/bin/uri-regress.exe

I was going to add the icons, but I felt the testclient.exe name is too
generic-sounding to be installed.  testclient originated in commit ebc8b7d.  I
recommend ceasing to install both programs under MSVC.  (The GNU make build
system does not install them.)  If that's unwanted for some reason, could you
rename testclient to something like libpq_test?

Thanks,
nm



Commits

  1. Add Windows file version information to libpq/test programs.

  2. Rename libpq test programs with libpq_ prefix

  3. Build libpq test programs under MSVC

  4. Enable SSL library detection via PQsslAttribute()