Remove libpq.rc, use win32ver.rc for libpq

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-12-27T16:25:58Z
Lists: pgsql-hackers

Attachments

I was wondering why we have a separate libpq.rc for libpq and use 
win32ver.rc for all other components.  I suspect this is also a leftover 
from the now-removed client-only Windows build.  With a bit of tweaking 
we can use win32ver.rc for libpq as well and remove a bit of duplicative 
code.

I have tested this patch with MSVC and MinGW.

I've also added some comments and a documentation link to be able to 
understand this business a bit better.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Commits

  1. Remove libpq.rc, use win32ver.rc for libpq