From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Rich Shepard <rshepard(at)appl-ecosys(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Move cluster to new host, upgraded version |
Date: | 2018-11-13 23:55:01 |
Message-ID: | c98dcc01-efb7-5aeb-eeba-f0a8cdbdf481@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-11-14 00:00:16 | Re: TOAST : partial detoasting : only a small part of a toasted value (for pgpointcloud) |
Previous Message | Rémi Cura | 2018-11-13 23:53:51 | TOAST : partial detoasting : only a small part of a toasted value (for pgpointcloud) |