pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedRe:Upgrading a PostgreSQL Cluster Documentation
2+ messages / 2 participants
[nested] [flat]
* Re:Upgrading a PostgreSQL Cluster Documentation
@ 2018-12-22 13:26 PG Doc comments form <noreply@postgresql.org>
2019-01-24 14:55 ` Re: Upgrading a PostgreSQL Cluster Documentation Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 2+ messages in thread
From: PG Doc comments form @ 2018-12-22 13:26 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: blaiseg07@gmail.com
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.
Thanks.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Upgrading a PostgreSQL Cluster Documentation
2018-12-22 13:26 Re:Upgrading a PostgreSQL Cluster Documentation PG Doc comments form <noreply@postgresql.org>
@ 2019-01-24 14:55 ` Bruce Momjian <bruce@momjian.us>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2019-01-24 14:55 UTC (permalink / raw)
To: blaiseg07@gmail.com; pgsql-docs@lists.postgresql.org
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@momjian.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 +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-01-24 14:55 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-22 13:26 Re:Upgrading a PostgreSQL Cluster Documentation PG Doc comments form <noreply@postgresql.org>
2019-01-24 14:55 ` Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox