diff options
author | Slawek Figiel <slawek@isc.org> | 2024-05-22 12:31:30 +0200 |
---|---|---|
committer | Slawek Figiel <slawek@isc.org> | 2024-05-23 14:18:15 +0200 |
commit | be86521a42c322b586cbd121adcd6e9fcfbbbefd (patch) | |
tree | aa6b0d2f8774dac9cec4679bc8fbe947e83d9271 /hammer.py | |
parent | [#2773] Update Changelog (diff) | |
download | kea-be86521a42c322b586cbd121adcd6e9fcfbbbefd.tar.xz kea-be86521a42c322b586cbd121adcd6e9fcfbbbefd.zip |
[#2773] Update Hammer queries
Diffstat (limited to 'hammer.py')
-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') |