Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqPKi-00080z-LU for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jun 2020 23:06:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqPKh-0004tV-EZ for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jun 2020 23:06:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqPKh-0004tO-2p for pgsql-hackers@lists.postgresql.org; Tue, 30 Jun 2020 23:06:31 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jqPKe-00032B-DF for pgsql-hackers@lists.postgresql.org; Tue, 30 Jun 2020 23:06:29 +0000 Received: by mail-qv1-xf30.google.com with SMTP id di5so5207195qvb.11 for ; Tue, 30 Jun 2020 16:06:28 -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:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=KHID90t4WoFtXh3vxgLE9O/hsc6M8SF6IXvI4f8As9M=; b=NWkO0RpIcRb4CUvN8uugnOLW99dI+cvhJDjR72f1r4Q012cuOWe31PDVAnHUn6YRZB LEY4cWxVRoDKV15bHTCj2ApRHoG4dAfySDUMGyJ7T15RJ+Ih/eN0SqKatncYvwxnhYDl /aKdePoMKktrIPh23SDXaAM90FbLc4JMzpFo6rk2AvRJiXom8G806r0WY8sCgLMstrzz sq1IhSBYgxS+3dCpMNJZLIozRS/+w4lUQsQXyopRyvKzZyrLwTbRWXLwXaloCKwc9AOb dCCYBTw5hzV4sTdAAhxpREtC8MrJWeDanSI52bK+Ph3jtAL0J8iyhvUAnUvBIGflfpll c24A== 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:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=KHID90t4WoFtXh3vxgLE9O/hsc6M8SF6IXvI4f8As9M=; b=QQ/fCO543WUj4GhswHdfnenxT5fw+R649OeTRa5R9KDf607H8lswYcwPkDyZynicxT xDC9EE5HOF4MGeyd1c1xtQzYqE8gvFK3h2UzjYR+XCFYDjONa65Wxo0ajqCl2L1h8BvZ iRm2OP00Utor0/k3vHolUti4aj6f9C5+ViUNHUhVhUMa8Pg8EM//fKWekAgFo9ycLHe5 nHUtp9OxNA8tI1+9b0x0t5a5XlO/6uZKHfaKCVqnVXCPAjOvt0FZkniYdld1OnjUw/mf v0328LEhU8Mh919u1JfxEwkvWQUctZTHRq2nJ+OY5W3z7/neScp/4whMYa9MctM10AAr 0V7A== X-Gm-Message-State: AOAM531R6fSqaqA1Gs0RiyOPngs5zVj6y2Ghc8MG4So8Vy929Ul4SiHi vE8RwMzGWE+LXJEmOy7o5VI9ffSjKldKPkw0huVJWNZsW8fEjdL7DkaLY1T7LeEkxOarsMUCCTV A4BIVaLRYzYlbnwL5gnH8NQ62qT0P6irE/q/C3eB8dAsDWqq/55IMUtKTiBwrx0ZIL8pViiaES/ 7clLi0QQ5ombpJvFceb3kV X-Google-Smtp-Source: ABdhPJyUwHkeA1rKsY+orqo5eHnPdZfpEGRo6GoHAZGro8R/m7l0Ijgmtyp+fgg/KrogNCDzjGxMsA== X-Received: by 2002:a0c:8e8c:: with SMTP id x12mr22040638qvb.55.1593558386708; Tue, 30 Jun 2020 16:06:26 -0700 (PDT) Received: from ?IPv6:2600:1700:722:4630::43? ([2600:1700:722:4630::43]) by smtp.gmail.com with ESMTPSA id k14sm4096631qtm.38.2020.06.30.16.06.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jun 2020 16:06:25 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Enable Unix-domain sockets support on Windows To: Amit Kapila Cc: Peter Eisentraut , PostgreSQL Hackers References: <88ae9594-6177-fa3c-0061-5bf8f8044b21@2ndquadrant.com> Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= mQENBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAG0L0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+iQFY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgBYhBOQ+WEYd/Hy/RGkVpZn6f8tZ /DuBAhkBBQJd1pSYBQkSzqMsAAoJEJn6f8tZ/DuBJmEIAIVFBIC3qGqh+YTPVTkfowwxpHz0 tZSPjZ6GS/5y62kgoZrZOVXw+Rg2ceuMM3a+In/RRjTx4bembgYqRKgzXlDfiNBJeq5ioVuN H1faDKE2lm5a6QkRQ2JU6DKf60fqSJGP5LisCUr1V0wz6EnlO31ArrKtXCNB+yk0KDAS6o6I Ql4pkXpr+vq4iilwJmiJOqTBam0LmQE7ulYCCYU8Z6MkpiSl+dO7QSramcGyxauQRI3a7gcq dpo8Vrv3gFTQDeMYxk7cqZp08pIVH5XR0+LgBz4X84f59rA/VAKlC/r6CyEQk59rvDLxCMyP 2buoj51Z25N3MVghRDGcsU6mT7e5AQ0ETspYWQEIANGc4zQULOxhbqO2dyD51YhqCNRmm9oK Waqf+wmW4tpDe/VVcxAnNizd4LWCHfzpb5cHAtGkOPePMfzWVf6nvdF7d3eglbtf59+zG7O7 llV0xSSoFiieQBsrGvqDInXYX/4mRRXMtyhM353/tixC9RWLs1oofyYmCPPXXY7h9R7en3B8 BoVrRFcdzlIY/NFNhFGW/9dkEiGjgna2Rk6e15kln4ZvFBWUg23p93w/pqXcxY6+k/8TEk+C 4R+M6w7o2PLGOjdZ+kPiUcw5H85zf/yZJwQXzisXaNduwWB6Vads9YC9dj6kPR1c4VGRqAaY L++LAEOqrlvm2TvqQqZRtnEAEQEAAYkBJQQYAQIADwIbDAUCXdaUtAUJEs6jVQAKCRCZ+n/L Wfw7gQi5B/9sHbmRloZNCWWwZGm+O9iG/JGQxS0WWa4GaZqzqSTWOft2/gO0Bgag89r1djq4 PFgSZtzHvKQpqYz/7HkPrWh1jpcS83i/uYY1uyHXUUtpdEmn4buNObEtD0YNaJkGdhASsECq 6akw+u7WJYmAHs/SpR6ok6HqLw7JHDVc2h5dViLfTk0qrgDa7sq/LVMoJje5Ct/Ku3YaWAV6 YSmzoPP5BmPVFqP11OMQkCqurIu9vTLXKFWX623vCmqRDHJ6e5GCDHbH8USU+4wJBfPymZkd cA7NGm/mmWeJiWBFIDyjzYxrjku8ty9TZJVsaRXnS+OFQzXz9Eu2wTpKdHij46uY Message-ID: Date: Tue, 30 Jun 2020 19:06:24 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/30/20 12:13 AM, Amit Kapila wrote: > On Mon, Jun 29, 2020 at 8:48 PM Andrew Dunstan > wrote: >> >> >> >> It needs to be a path from the Windows POV, not an Msys virtualized >> path. So c:/tmp or just /tmp should work, but /c/tmp or similar probably >> will not. The directory needs to exist. I just checked that this is >> working, both in postgresql.conf and on the psql command line. >> > Okay, thanks for the verification. I was trying to see its behavior > on Win7 or a similar environment where this feature is not supported > to see if we get the appropriate error message. If by any chance, you > have access to such an environment, then it might be worth trying on > such an environment once. > I haven't had a working Windows 7 environment for quite some years. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services