pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MauMau <maumau307@gmail.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds
Date: Sat, 21 Jun 2014 11:47:29 +0900
Message-ID: <7E6471A0DAC54872AE6DFEB393554C77@maumau> (raw)
In-Reply-To: <CAB7nPqTZy5j-Uts4xP=uNFMRVW=oBZAvyjGRGEMWjbDtaN_YZg@mail.gmail.com>
References: <CAB7nPqSv-shp7rReh1esKbeENOjsK0RxQ9h0NVGhp+oeR+FLLg@mail.gmail.com>
	<CABUevEyDe4FWupst7iB1E8p3720AGj0Ejpxcfy1KA-a9iQBO-w@mail.gmail.com>
	<CAB7nPqRkA0yzmJPBbNLb-mUVNvSDGHQmSKxxb5vdUSP=yF1suw@mail.gmail.com>
	<CABUevEz9koiwGgz4SSQ3zxoreGk+qOzyTg1mFKnZgOOqA-V9PQ@mail.gmail.com>
	<CAB7nPqQ90E7sRctSXMEDG_SPeEABzMQ2feUOV9c4erdM4x1UjQ@mail.gmail.com>
	<CAB7nPqQe+CHjmi39u_nROd4roYMk7ES6C-NoZT-dh0EragUpPg@mail.gmail.com>
	<25735302B9D94C6EB8E999E48A8663C3@maumau>
	<CAB7nPqRtY1eikQGmz1_wbVHPvFyvE9VMA67ricepQ6D8-EgwnA@mail.gmail.com>
	<BA403D0A8188444F817198BDAB4F326F@maumau>
	<CAB7nPqTZy5j-Uts4xP=uNFMRVW=oBZAvyjGRGEMWjbDtaN_YZg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

From: "Michael Paquier" <michael.paquier@gmail.com>
> Yeah this trick is fine as well, but it complicates the code without
> versioning those paths :) So let's do without please and find a
> cleaner solution later on.

OK.



> Current patch would be better, conversion_procs paths are now
> correctly versioned.

OK, I tested with the current patches:

0001-Add-AddDir-calls-for-contrib.patch
0002-Add-file-versioning-for-all-core-dll-and-exe-in-MSVC.patch

They applied cleanly, and the build with MSVC succeeded.

I checked if Exes and DLLs in bin\ and lib\ have proper versioning info by 
looking at the file property with Windows Explorer.  I could confirm that 
most contrib modules and plpgsql.dll have correct versioning ifno.  The 
following modules have better description now.  Thanks.

bin\pg_basebackup.exe
bin\pg_receivexlog.exe
bin\pg_recvlogical.exe
bin\pg_xlogdump.exe

The below modules did not have versioning info as intended.  I hope this 
will be improved in the future.

bin\isolationtester.exe
bin\pg_isolation_regress
bin\pg_regress.exe
bin\pg_regress_ecpg.exe
bin\zic.exe
lib\dict_snowball.dll
lib\regress.dll

However, there seems to be two issues before marking this patch as ready for 
committer.

(1)
lib\pgcrypto.dll doesn't have versioning info.


(2)
None of the conversion_procs has versioning info.  But their Makefiles have 
PGFILEDESC line.  For example, 
src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile has the line:

NAME  = ascii_and_mic
PGFILEDESC = "ascii_and_mic"

Regards
MauMau



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (25+ messages)  latest in thread

Message-ID: <7E6471A0DAC54872AE6DFEB393554C77@maumau>
Permalink:  ../7E6471A0DAC54872AE6DFEB393554C77@maumau/
Also on:    postgresql.org/message-id/7E6471A0DAC54872AE6DFEB393554C77@maumau

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: maumau307@gmail.com, michael.paquier@gmail.com, magnus@hagander.net
  Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds
  In-Reply-To: <7E6471A0DAC54872AE6DFEB393554C77@maumau>
  References: <CAB7nPqSv-shp7rReh1esKbeENOjsK0RxQ9h0NVGhp+oeR+FLLg@mail.gmail.com> <CABUevEyDe4FWupst7iB1E8p3720AGj0Ejpxcfy1KA-a9iQBO-w@mail.gmail.com> <CAB7nPqRkA0yzmJPBbNLb-mUVNvSDGHQmSKxxb5vdUSP=yF1suw@mail.gmail.com> <CABUevEz9koiwGgz4SSQ3zxoreGk+qOzyTg1mFKnZgOOqA-V9PQ@mail.gmail.com> <CAB7nPqQ90E7sRctSXMEDG_SPeEABzMQ2feUOV9c4erdM4x1UjQ@mail.gmail.com> <CAB7nPqQe+CHjmi39u_nROd4roYMk7ES6C-NoZT-dh0EragUpPg@mail.gmail.com> <25735302B9D94C6EB8E999E48A8663C3@maumau> <CAB7nPqRtY1eikQGmz1_wbVHPvFyvE9VMA67ricepQ6D8-EgwnA@mail.gmail.com> <BA403D0A8188444F817198BDAB4F326F@maumau> <CAB7nPqTZy5j-Uts4xP=uNFMRVW=oBZAvyjGRGEMWjbDtaN_YZg@mail.gmail.com> <7E6471A0DAC54872AE6DFEB393554C77@maumau>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox