From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | blaiseg07(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Upgrading a PostgreSQL Cluster Documentation |
Date: | 2019-01-24 14:55:33 |
Message-ID: | 20190124145533.GE8334@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Sat, Dec 22, 2018 at 01:26:26PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/upgrading.html
> Description:
>
> https://www.postgresql.org/docs/10/upgrading.html
>
> It would be helpful to make a note for Linux users that you have login
> interactively as the postgres user ie. "sudo -u postgres -i" before running
> such commands as "pg_dumpall -p 5432 | psql -d postgres -p 5433". Otherwise
> you'll receive the template1 error about the user.
Uh, you can do:
pg_dumpall -U postgres -p 5432
which is simpler. The point is that the database user should be
postgres, not necessarily the operating system user, though that also
works.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | PG Doc comments form | 2019-01-25 09:26:14 | couldn't find the tutorial sql's |
Previous Message | Pavlo Golub | 2019-01-24 06:09:08 | Re: Bug reporting guidelines order of instructions |