Skip to content

Commit

Permalink
Use $(whoami) instead of $USER
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyaaa committed Sep 5, 2024
1 parent bb4ff42 commit cdcb417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sql/backup_from_standby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ EOF
local replication postgres trust
host replication postgres 127.0.0.1/32 trust
host replication postgres ::1/128 trust
local replication $USER trust
host replication $USER 127.0.0.1/32 trust
host replication $USER ::1/128 trust
local replication $(whoami) trust
host replication $(whoami) 127.0.0.1/32 trust
host replication $(whoami) ::1/128 trust
EOF


Expand Down

0 comments on commit cdcb417

Please sign in to comment.