Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMjCH-0002x9-Jq for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 00:38:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMjCE-0004dM-NO for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 00:38:18 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMjCD-0004d9-Nz for pgsql-general@lists.postgresql.org; Wed, 14 Nov 2018 00:38:18 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMjC8-0003io-Fa for pgsql-general@postgresql.org; Wed, 14 Nov 2018 00:38:17 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 847D521F17; Tue, 13 Nov 2018 19:38:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 13 Nov 2018 19:38:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=A fzu9yk14Icn2866uP35Yv7REIxtpbhiCLXVlA4AvpM=; b=9BUz+M/0bXzdtssJo qyQPyjwjb7T24mPoizk+m9QPaMOJunqiU6B/H3OuTymoX5dtdlhmMIkUHkdS7nbb NMbZ9zQdE9dYyKj7HgUuv54u/OCdg4yFqbFJDn2j+pD7MexscyM6v/ECLAXSpwH1 aWFn+7hWeLai/D6M6jZQbxggRIO1asqCfAQsBPi/t2XA1HRlJY7DP3X4X7hq2f0T IY7vvakNiZ9XOAM5ciLuAYkoxcUVnMjSVJQfQqjpPBVU0BniCFQNXjIeR0ibTx1d +DunEv/SdKQWgmvHUB0GverkpnP5cg5tzauDkb4N8UDavgMVkPt2UfXk4+qhcFDm iiZ+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Afzu9yk14Icn2866uP35Yv7REIxtpbhiCLXVlA4Av pM=; b=fPF5EFksXPjQqTRRTv9H4LaiLMjhHidOqpv2fwkayOj5GuX+dNSlCxQ1F It6d3Xhno+/gAaWldgIpjMkjprX3rWcJZFMuw8K9boFgOKW7OpHjRUR+0txQtiVG F92VTea3Y1uiYRZDgLB/D0CQoB/ttLu9k9hEM0uKqxR5wxGR9G+8irZeYu6SAodj zqTmqylr/ffNrdn3gWUgRf+5d1bVTvNNaUjbsDLkwknmXOA7WwwbZd6XtCCeemOK nGOHMj0ARrNvVinS/MsujJu+WdlJZiv73JSo59R+kOCQ+BgGpYyG8EMnVpqvlpjl a5an0Lo1o9jXblo4uoW9onRsgUr9w== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 27E56E476E; Tue, 13 Nov 2018 19:38:08 -0500 (EST) Subject: Re: Move cluster to new host, upgraded version To: Rich Shepard , pgsql-general@postgresql.org References: <87wopjv2gu.fsf@news-spur.riddles.org.uk> <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> From: Adrian Klaver Message-ID: <7612d388-2bea-66ed-0bad-7c2ade410899@aklaver.com> Date: Tue, 13 Nov 2018 16:38:07 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/13/18 4:24 PM, Rich Shepard wrote: > On Tue, 13 Nov 2018, Adrian Klaver wrote: > >> You have two options: >> >> 1) The preferred one. Keep the password and create a .pgpass file to >> hold the password: >> https://www.postgresql.org/docs/10/libpq-pgpass.html > > Adrian, > >   That's database-specific if I read the manual page correctly. No: " Each of the first four fields can be a literal value, or *, which matches anything. " > >> My guess is you had one on the other machine. > >   Nope. I've been running postgres since 1997 and never used a password > since I'm the only one using the databases. > >> 2) Change your auth method in pg_hba.conf: >> https://www.postgresql.org/docs/10/client-authentication.html > >   /var/lib/pgsql/11/data/pg_hba.conf has trust as the local authentication If the record starts with local then that is for socket connections. If you are connecting to a host e.g -h localhost then you need to look at the host records. > method for all databases. Perhaps I need to restart the server after > loading > the databases. Will try that. > > Thanks, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com