Skip to content
Snippets Groups Projects
Commit 8ab54777 authored by Dan Notestein's avatar Dan Notestein
Browse files

Don't enable query supervisor when creating hivemind_user, disable it

for existing users
parent 9a6c93f3
Branches develop
No related tags found
1 merge request!861Don't enable query supervisor when creating hivemind_user, disable it
......@@ -81,7 +81,7 @@ else
fi
"$SCRIPTPATH/../haf/scripts/create_haf_app_role.sh" --postgres-url="$POSTGRES_ACCESS" --haf-app-account="hivemind"
"$SCRIPTPATH/../haf/scripts/create_haf_app_role.sh" --postgres-url="$POSTGRES_ACCESS" --haf-app-account="hivemind_user" --base-group="hive_applications_group" --public
"$SCRIPTPATH/../haf/scripts/create_haf_app_role.sh" --postgres-url="$POSTGRES_ACCESS" --haf-app-account="hivemind_user" --base-group="hive_applications_group"
#psql "$POSTGRES_ACCESS" -c "GRANT SET ON PARAMETER log_min_messages TO hivemind;"
......@@ -91,3 +91,4 @@ if [ -n "$STATEMENT_TIMEOUT" ]; then
echo "Setting statement timeout for hivemind_user role to ${STATEMENT_TIMEOUT}..."
psql "$POSTGRES_ACCESS" -v ON_ERROR_STOP=on -c "ALTER ROLE hivemind_user SET statement_timeout TO '${STATEMENT_TIMEOUT}';"
fi
psql "$POSTGRES_ACCESS" -v ON_ERROR_STOP=on -c "ALTER ROLE hivemind_user RESET query_supervisor.limits_enabled;"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment