Re: Missing file versions for a bunch of dll/exe files in Windows builds

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds
Date: 2014-04-25 02:21:43
Message-ID: CAB7nPqQe+CHjmi39u_nROd4roYMk7ES6C-NoZT-dh0EragUpPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Apr 24, 2014 at 8:31 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> Oh OK. I'll try to get a clean patch following those lines. There is
> as well the AddDir call for contrib/ to add...
I went through those things, resulting in the following set of patches:
- 20140425_msvc_adddir.patch, adding some AddDir for contrib modules
to be able to detect PGFILEDESC and generate resource files in
consequence.
- 20140425_pgfiledesc_contrib.patch, adding PGFILEDESC to all the
modules that actually need it (PL things, snowball, contrib/, etc.)
- 20140425_pgfiledesc_cvprocs.patch, adding PGFILEDESC to all the
modules in conversion_procs. OK this does not ease the maintenance
pain, but for correctness in the file version of a build this is
important.

Patch 1 should be definitely applied, that's an existing bug. Patch 2
and 3 are here to ensure that all the dll/exe files generated have a
version number associated with a build on Windows, something
particularly useful for upgrades, and important for consistency among
files...
Regards,
--
Michael

Attachment Content-Type Size
20140425_msvc_adddir.patch text/plain 870 bytes
20140425_pgfiledesc_contrib.patch text/plain 22.6 KB
20140425_pgfiledesc_cvprocs.patch text/plain 12.7 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message sofiamay 2014-04-25 07:56:08 BUG #10140: Configured for 127.0.0.1 but binds to all IP
Previous Message Maxim Boguk 2014-04-25 01:04:31 Re: BUG #10123: Weird entries in pg_stat_activity