Re: Move cluster to new host, upgraded version - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Move cluster to new host, upgraded version
Date
Msg-id c98dcc01-efb7-5aeb-eeba-f0a8cdbdf481@aklaver.com
Whole thread Raw
In response to Re: Move cluster to new host, upgraded version  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Move cluster to new host, upgraded version
List pgsql-general
On 11/13/18 3:47 PM, Rich Shepard wrote:
> On Sun, 11 Nov 2018, Rich Shepard wrote:
> 
>> Looks like the pg_dumpall '-h' option will act on the other host's data
>> directory.
> 
>    Worked as advertised. Just read the dumped file into the new 11.1 data
> directory.
> 
>    The new installation is asking for my password to access my databases.
> Where do I turn this off?

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

My guess is you had one on the other machine.

2) Change your auth method in pg_hba.conf:

https://www.postgresql.org/docs/10/client-authentication.html
> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Rémi Cura
Date:
Subject: TOAST : partial detoasting : only a small part of a toasted value(for pgpointcloud)
Next
From: Tom Lane
Date:
Subject: Re: TOAST : partial detoasting : only a small part of a toasted value (for pgpointcloud)