You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will detect PGDATA for the postgresql systemd unit. (set -euo pipefail ; eval "$(systemctl show -p Environment postgresql | grep -oP '(?<=^Environment=).*' || echo false)" ; echo $PGDATA)
Inspired by how postgresql-setup script detects the correct location.
The text was updated successfully, but these errors were encountered:
This will detect PGDATA for the postgresql systemd unit.
(set -euo pipefail ; eval "$(systemctl show -p Environment postgresql | grep -oP '(?<=^Environment=).*' || echo false)" ; echo $PGDATA)
Inspired by how
postgresql-setup
script detects the correct location.The text was updated successfully, but these errors were encountered: