Issues
Incorrect command on the Installation instruction page for PDPG for Debian and Ubuntu
Done
General
Escalation
General
Escalation
Description
Environment
None
Details
Assignee
Anastasia AlexandrovaAnastasia AlexandrovaReporter
Pavel TankovPavel Tankov(Deactivated)Components
Affects versions
Priority
Medium
Details
Details
Assignee
Anastasia Alexandrova
Anastasia AlexandrovaReporter
Pavel Tankov
Pavel Tankov(Deactivated)Components
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created May 18, 2023 at 10:29 AM
Updated March 5, 2024 at 11:30 AM
Resolved June 9, 2023 at 9:07 AM
Activity
Show:
Anastasia AlexandrovaJune 9, 2023 at 9:07 AM
Updated
I followed the webpage https://docs.percona.com/postgresql/15/apt.html which gives instructions how to install Percona Distribution for PostgreSQL on Debian and Ubuntu.
There is one Hint there on that page suggesting:
You can connect to
psql
as thepostgres
user in one go:That didn't seem to work on my Ubuntu 22.
I think the correct command should be this:
Note the
-c
option makes the difference. According to the man page of su:But if you want to eliminate all error messages, I'd suggest to modify the command like this:
Note the additional
-
aftersu
. See: https://unix.stackexchange.com/a/460769 for more information.