diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2015-11-30 12:31:40 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2015-11-30 12:31:40 +0100 |
commit | 47fe731d3ed9b4a0fd60ffc4e79c294251763b1a (patch) | |
tree | a06f79946a92411d3d859ad8e8bc8eaf7f15bdd5 /share/postgresql-setup/library.sh.in | |
parent | e5b59c49900d1ffc81ad0daff63aebecfdb55a41 (diff) | |
download | postgresql-setup-47fe731d3ed9b4a0fd60ffc4e79c294251763b1a.tar.gz postgresql-setup-47fe731d3ed9b4a0fd60ffc4e79c294251763b1a.tar.xz postgresql-setup-47fe731d3ed9b4a0fd60ffc4e79c294251763b1a.zip |
postgresql-setup: postgres's $HOME must be writeable
The pg_upgrade fails with confusing error message if there are
wrong /var/lib/pgsql permissions. It's not very obvious what is
the pg_upgrade's work-dir (we use 'runuser' -l) -- for this reason
exit rather early with understandable error message.
* postgresql-setup.in: Exit if postgres user is not able to write
into $POSTGRES_HOMEDIR.
Diffstat (limited to 'share/postgresql-setup/library.sh.in')
0 files changed, 0 insertions, 0 deletions