2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#2773] Update Hammer queries

This commit is contained in:
Slawek Figiel
2024-05-22 12:31:30 +02:00
parent 11e65cd321
commit be86521a42

View File

@@ -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')