diff options
-rwxr-xr-x | hammer.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1556,9 +1556,8 @@ def _configure_pgsql(system, revision, features): execute(cmd, cwd='/tmp') # This is needed for postgres >= 15 - cmd = """bash -c \"cat <<EOF | sudo -u postgres psql postgres - GRANT ALL ON DATABASE keatest TO keatest; - ALTER DATABASE keatest OWNER TO keatest;\n""" + cmd = """bash -c \"cat <<EOF | sudo -u postgres psql -U postgres -d keatest + GRANT ALL PRIVILEGES ON SCHEMA public TO keatest;\n""" cmd += 'EOF\n"' execute(cmd, cwd='/tmp') |