Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1yIM-00027B-DD for pgsql-committers@arkaria.postgresql.org; Mon, 17 Sep 2018 18:30:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1yIK-0003xP-BK for pgsql-committers@arkaria.postgresql.org; Mon, 17 Sep 2018 18:30:48 +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.89) (envelope-from ) id 1g1yIK-0003xI-39 for pgsql-committers@lists.postgresql.org; Mon, 17 Sep 2018 18:30:48 +0000 Received: from mail-yw1-xc41.google.com ([2607:f8b0:4864:20::c41]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g1yIG-0007lG-F3 for pgsql-committers@lists.postgresql.org; Mon, 17 Sep 2018 18:30:47 +0000 Received: by mail-yw1-xc41.google.com with SMTP id j131-v6so5856039ywc.13 for ; Mon, 17 Sep 2018 11:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=0zzwmqh2P6LW++EX2oPC7+1CKyWfnaUyo+/yMlZbRRs=; b=zHUSLvUNFlaDz5aDa2wBB2X49wAvXLdvJzdTnLhNnwP0C9H0TxImsjrhnv3ogqbz0W vez5Sgqqt0KFbgOAyjSz55EeZ1DWLQ5FWrGk2W1idDBcQhevq4QdxSeHmO/unCDkPB7Y w9+cDVOBtZFATI4QyYMa64g6GRTRtKqkziWGTOr+E7QUvVoHeUqrCeF0vFVdBRX7eeFM 2pnOFCg858Q23hEWWL0lfS8qkfB+QBPh/ITGVHo7kF90eFZqxsStsbAShmgJrheEPcIR Ix1HdDqa3B2sUKsDy+1hvkjQVw/z4NeqHBAvfcn6V6DBodfqODntK8WX1aBiJ06VbEXa g68w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=0zzwmqh2P6LW++EX2oPC7+1CKyWfnaUyo+/yMlZbRRs=; b=Vgi1Xc3rdn8Wh7j8YYbW9sx3WLkW5A/CVOGmUL9HkxDqIXzQxx/zoL/C/MiMM7ihKM 30E+DDAJQZqw5wsFwR/0+W2NKnkTQyX2oMEqTlSjUWRk6KAEt5syWPvLpE0QKXC3ZdwC lfb2VNtRbDwHW6WpT04UzNYRRiuF+zAUiIvgr3lvYEqoG1/n9I7gua65i+qjz/4cnCg7 C5xV8BLLilvEvGxX4lENo59FJaQVhDGY0uBKPQO1U3jlpEpzZlYUYx+lCoP+u0gFaZHK rcPlgfVPmDX//iNcoJ3W3Lzl4K8fRBNXfye2kAJyq9lttqDNsJzwRovwykwSpnyJT4g8 CRrg== X-Gm-Message-State: APzg51BSXWuBXJBvPzbQPj5UWeAuGW3mldAdbthprCOtXU25A3WAeLTv CoGvrLRmbao0SliVLL6EiSm86yFzOI9gJguy4AJNsV7edUVa97HHUfsnoc1uQqQKlC1DPy5+GaH QOPgjj9+hwDpI2LxC3ILC1WLsbX/zQkBfEgRHFmpV6EF7Rj4Lb2jh9eow/B/6ZgbsAwklMZMpuz F7IxHkqn7wGQmMyK7yHtg/1HdJ X-Google-Smtp-Source: ANB0VdaFKRnmC8+72SaBa6X+TzcZ/sVM9MhIJMsZ1LIx/do/1aZw8Qq3UHrV14otJA/aIWu5qqu1cQ== X-Received: by 2002:a81:9482:: with SMTP id l124-v6mr11183230ywg.128.1537209042233; Mon, 17 Sep 2018 11:30:42 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id y2-v6sm7792693ywd.38.2018.09.17.11.30.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 11:30:41 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Allow concurrent-safe open() and fopen() in frontend code for Wi To: Tom Lane Cc: Michael Paquier , pgsql-committers@lists.postgresql.org References: <23543.1536938575@sss.pgh.pa.us> <20180914224939.GA1178@paquier.xyz> <20180917114113.GA31460@paquier.xyz> <17194.1537191697@sss.pgh.pa.us> <20180917140202.GF31460@paquier.xyz> <19655.1537195712@sss.pgh.pa.us> <3883.1537200836@sss.pgh.pa.us> Message-ID: <99abad95-2b1a-32ea-50bb-416747fb87c4@2ndQuadrant.com> Date: Mon, 17 Sep 2018 14:30:40 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <3883.1537200836@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 09/17/2018 12:13 PM, Tom Lane wrote: > Andrew Dunstan writes: >> On 09/17/2018 10:48 AM, Tom Lane wrote: >>> We've got a bit of a timing problem because we want to wrap 11beta4/rc1 >>> (still TBD) in a few hours. I'll take a look and see if I can push a >>> quick fix before that. >> When you do I'll start a bowerbird run to check it. > Pushed, please test. > > I think there's a general issue here of exactly how we want pgwin32_fopen > to behave, but the immediate problem is best fixed by making pgbench deal > with Windows newlines more thoroughly. > > Tests are still running, but it's past the pgbench stage on HEAD, so I think we're good. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services