mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 23:15:20 +00:00
[#2773] Update Hammer queries
This commit is contained in:
@@ -1556,9 +1556,8 @@ def _configure_pgsql(system, revision, features):
|
|||||||
execute(cmd, cwd='/tmp')
|
execute(cmd, cwd='/tmp')
|
||||||
|
|
||||||
# This is needed for postgres >= 15
|
# This is needed for postgres >= 15
|
||||||
cmd = """bash -c \"cat <<EOF | sudo -u postgres psql postgres
|
cmd = """bash -c \"cat <<EOF | sudo -u postgres psql -U postgres -d keatest
|
||||||
GRANT ALL ON DATABASE keatest TO keatest;
|
GRANT ALL PRIVILEGES ON SCHEMA public TO keatest;\n"""
|
||||||
ALTER DATABASE keatest OWNER TO keatest;\n"""
|
|
||||||
cmd += 'EOF\n"'
|
cmd += 'EOF\n"'
|
||||||
execute(cmd, cwd='/tmp')
|
execute(cmd, cwd='/tmp')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user