Skip to content

Commit be86521

Browse files
committed
[#2773] Update Hammer queries
1 parent 11e65cd commit be86521

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hammer.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1556,9 +1556,8 @@ def _configure_pgsql(system, revision, features):
15561556
execute(cmd, cwd='/tmp')
15571557

15581558
# This is needed for postgres >= 15
1559-
cmd = """bash -c \"cat <<EOF | sudo -u postgres psql postgres
1560-
GRANT ALL ON DATABASE keatest TO keatest;
1561-
ALTER DATABASE keatest OWNER TO keatest;\n"""
1559+
cmd = """bash -c \"cat <<EOF | sudo -u postgres psql -U postgres -d keatest
1560+
GRANT ALL PRIVILEGES ON SCHEMA public TO keatest;\n"""
15621561
cmd += 'EOF\n"'
15631562
execute(cmd, cwd='/tmp')
15641563

0 commit comments

Comments
 (0)