Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WyBHD-0005vd-FF for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Jun 2014 02:43:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WyBHC-00055X-VC for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Jun 2014 02:43:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WyBHB-00055Q-Qg for pgsql-bugs@postgresql.org; Sat, 21 Jun 2014 02:43:33 +0000 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WyBH8-0004qQ-S1 for pgsql-bugs@postgresql.org; Sat, 21 Jun 2014 02:43:31 +0000 Received: by mail-pa0-f48.google.com with SMTP id et14so3732754pad.21 for ; Fri, 20 Jun 2014 19:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:content-transfer-encoding; bh=fxr/WzGOoCSYJEaUQXcmvVfRRXvewTthctoGaZUPT28=; b=Ee8Vlm+IvIf4v6/73XcU3vcfmCFXlGmIGZ28heZuUZTIqWw61QPlAQD7vKC+lZB1iu 7Dqw73H8cSp9dkRZHediT3OOTGuWTwYgTpzbISJRgUQMG0Pxb2npLFSJU2Ft8KVHwwx/ GEJqeie5V3m3Pd32v1XFVjT4XyguTk95TD8BGRreq4NBmnwi2jId6syQZpMSx92zwkO1 jYq/y6uKYvuZ3XtHWMNRWM+HzUMedNH6KWXe4FyZlqzZaBb7/2WW9NRUwfZBkDjKUWx+ aOAbNufyvrBQEtN4MvWbUyQ9OQXX2aCae1xtmpViM1grB3qxm/RmDLQxmFUh1f6/H4NZ 78mg== X-Received: by 10.66.185.4 with SMTP id ey4mr9679966pac.126.1403318608704; Fri, 20 Jun 2014 19:43:28 -0700 (PDT) Received: from maumau (p23196-ipngn100307sizuokaden.shizuoka.ocn.ne.jp. [153.131.144.196]) by mx.google.com with ESMTPSA id fk4sm52169571pab.23.2014.06.20.19.43.26 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Jun 2014 19:43:27 -0700 (PDT) Message-ID: <7E6471A0DAC54872AE6DFEB393554C77@maumau> From: "MauMau" To: "Michael Paquier" Cc: "Magnus Hagander" , "pgsql-bugs" References: <25735302B9D94C6EB8E999E48A8663C3@maumau> In-Reply-To: Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds Date: Sat, 21 Jun 2014 11:47:29 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 X-Pg-Spam-Score: -1.3 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org From: "Michael Paquier" > 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