Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahwbe-0006FY-5m for pgsql-committers@arkaria.postgresql.org; Mon, 21 Mar 2016 09:58:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ahwbd-0007yX-OW for pgsql-committers@arkaria.postgresql.org; Mon, 21 Mar 2016 09:58:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ahwbR-0007kt-GF for pgsql-committers@postgresql.org; Mon, 21 Mar 2016 09:58:25 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ahwbO-0005D1-Aq for pgsql-committers@postgresql.org; Mon, 21 Mar 2016 09:58:25 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E9C2B2086B for ; Mon, 21 Mar 2016 05:58:20 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 21 Mar 2016 05:58:20 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=epZt5bZ9Y6xuk5bShwvJootoZYI=; b=J2l+J 6cRfTScvRJwHkWyKpLUGNZxPDbtJOyToHMF4xoz+sPKJ9DNPFseVS7P+3e/Y6xlt Dl7XZd06vKGDmB3VUag44u3fujTsopGTL/U2d4SRRnMY//Vu4UYQ91z/PcN9i3QA yKzLFKQh5HEdzNjdTsCvNjcqiXbjjavRBWoVOI= X-Sasl-enc: eg+HWxhF8fphgCp1S5IT3J0wXEcH51Up63o/A9G7/qXV 1458554299 Received: from intern.anarazel.de (ns1.anarazel.de [217.115.131.41]) by mail.messagingengine.com (Postfix) with ESMTPA id B0ED368026E; Mon, 21 Mar 2016 05:58:19 -0400 (EDT) Date: Mon, 21 Mar 2016 10:57:52 +0100 From: Andres Freund To: David Rowley Cc: Tom Lane , pgsql-committers@postgresql.org Subject: Re: pgsql: Best-guess attempt at fixing MSVC build for 68ab8e8ba4a471d9. Message-ID: <20160321095752.hexfsaxajvfrywsx@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2016-03-21 22:38:50 +1300, David Rowley wrote: > On 21 March 2016 at 10:52, Tom Lane wrote: > > Best-guess attempt at fixing MSVC build for 68ab8e8ba4a471d9. > > > > pgbench now needs to use src/bin/psql/psqlscan.l, but it's not very clear > > how to fit that into the MSVC build system. If this doesn't work I'm going > > to need some help from somebody who actually understands those scripts ... > > I see this didn't fix the problem :-( > > Perl is not my native tongue, but after a little study and some > testing on a windows machine, the attached seems to fix the problem. > > I've never much looked at these script before, but it seems that the > parsing of the Makefile just assumes that psqlscan.c is in the same > path as the rest of the stuff. The patch just uses some already > defined file replace functions to switch the wrong filename out for > the correct one before the Visual Studios project file is created. I've pushed this, as I would like the buildfarm to be green before pushing the latch rework... Maybe there's a better fix, but I think this is ok. Thanks! Andres -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers