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 1ld2kt-0004UM-Mj for pgsql-docs@arkaria.postgresql.org; Sun, 02 May 2021 03:26:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ld2ks-0001Bp-GJ for pgsql-docs@arkaria.postgresql.org; Sun, 02 May 2021 03:26:50 +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 1ld2ks-0001Bi-7r for pgsql-docs@lists.postgresql.org; Sun, 02 May 2021 03:26:50 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ld2kn-0004Qd-T6 for pgsql-docs@lists.postgresql.org; Sun, 02 May 2021 03:26:48 +0000 Received: by mail-pj1-x102f.google.com with SMTP id h14-20020a17090aea8eb02901553e1cc649so3880059pjz.0 for ; Sat, 01 May 2021 20:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=GycdQuokMgrY6gqEOYq0j9kuYQnalxcAcXajUzju398=; b=G6gfH7RH5tITmKB1i/pDIpb+UTRWUgw9ZkDxm8PgvBPxBmDF5M02oBCtmcLMNvalNp PM9AeRmWSBmM7DXSvg/s7J5afiz4C3UmS+01fRZ3dAcMt5fMX8gtneDZqAlKACvrit6q /gw8gP7Iuv+l2JvZUUXiurTXxrzSdE2M2JrDROqUe3gj/kkHjeCzz80ARZJaBJf4yKhk WRhfepDugjQN0l68Sd2pezwSqBpYoM7fWMSoCZOyCB5favmuRrC/4ILpqvNsSWxIajjF 9ftCZAjfUD0H6yUbYFqbRqw6MfTyEix4t4+uV/Jo80vzYVMAijJGnANk1SRVJyReTcUt R27g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GycdQuokMgrY6gqEOYq0j9kuYQnalxcAcXajUzju398=; b=DlAooCvkjTGc4/sb7w69+jsycCfnCzsT8hFoAWKBYXxrnGAsWe2wOXTOknHcdwVyzA rZF3VOvhF+T6ka0Ff2s8/nwgBkcgih1bBkgAHVGpAUbdNTkZfP/+TZWyJyWXf21v+a5Z mL4RepOkxTe+TZIldQ3Zt9wMZ4d3/9KxSzPTfQn9qJtyNB5jRFMVrH8se6PqMbKl6SMs JTBmP0uLsamZ5+YOiGLf8VPUxKiRo4PTfjpJSnHXNa0C7Ztij8jpzMtGoJw9jJriWhD+ 4e0R7wxrfGo3qKCzxgnu/3UdcRQ2i62SV3j+8O7zjoVPa0mmkb/gXUZLHibwzlc3GJNB +m5g== X-Gm-Message-State: AOAM531PVb8DbRiRy0Vu2y4Blr7X1JExIy4EI259otH0lrOR6tNS6114 qIOSO2KfM/XFHEz5iwr4s+U= X-Google-Smtp-Source: ABdhPJwQZM4yZkihdPcGILt7z36G/+t17zjhs6IJjEFzV9dctzLsczKtFu/YLxwnVl/B3hqRWvx6bw== X-Received: by 2002:a17:902:8641:b029:e4:7e05:c916 with SMTP id y1-20020a1709028641b02900e47e05c916mr13057763plt.57.1619926003947; Sat, 01 May 2021 20:26:43 -0700 (PDT) Received: from nol (2001-b011-0008-9b28-324b-e237-f079-3bcf.dynamic-ip6.hinet.net. [2001:b011:8:9b28:324b:e237:f079:3bcf]) by smtp.gmail.com with ESMTPSA id h3sm5564891pfo.155.2021.05.01.20.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 May 2021 20:26:43 -0700 (PDT) Date: Sun, 2 May 2021 11:27:22 +0800 From: Julien Rouhaud To: Bruce Momjian Cc: theman@fdrsucks.com, pgsql-docs@lists.postgresql.org Subject: Re: location of pgpass.conf Message-ID: <20210502032722.f6tew7j2wbcugevd@nol> References: <161991948412.29426.2958264018622009125@wrigleys.postgresql.org> <20210502031443.GD23068@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210502031443.GD23068@momjian.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, May 01, 2021 at 11:14:43PM -0400, Bruce Momjian wrote: > On Sun, May 2, 2021 at 01:38:04AM +0000, PG Doc comments form wrote: > > The following documentation comment has been logged on the website: > > > > Page: https://www.postgresql.org/docs/13/libpq-pgpass.html > > Description: > > > > The file location needs to be more clear. It didn't work on my Local > > profile, only my Roaming profile: > > > > AppData\Roaming\postgresql > > > > Although it should work under Local profile too as Local is more secure than > > Roaming. > > I don't even know what operating system you are using, let alone what a > roaming or local profile are. If you want things clarified, you have to > be clearer yourself. AppData is a Windows thing. The documentation is correct as far as I can see, as Windows documents the Roaming folder as APPDATA, in opposition to LOCAL_APPDATA, which is the one OP tried first. See https://docs.microsoft.com/en-us/windows/win32/shell/csidl for more details. I think you can open %APPDATA% in Windows explorer to get the correct location if needed.