{% load i18n %}
{% if connection.kind == 'mysql' %}

⚙ {% trans "Server variables" %}

global_variables → SET PERSIST

{% else %}

⚙ postgresql.conf

pg_settings → ALTER SYSTEM SET → pg_reload_conf()

{% endif %}
{% include "partials/restart_banner.html" %}
{% if settings %} {% for s in settings %}{% include "partials/settings_row.html" %}{% endfor %}
{% trans "Setting" %} {% trans "Value" %}
{% else %}

{% trans "No settings in this category." %}

{% endif %}
{% if connection.kind == 'mysql' %}

{% blocktrans %}Changes use SET PERSIST (writes mysqld-auto.cnf) and apply immediately to running, dynamic variables. Read-only variables can't be changed without a restart and will report an error. Requires a connection with the SYSTEM_VARIABLES_ADMIN privilege.{% endblocktrans %}

{% else %}

{% blocktrans %}Changes use ALTER SYSTEM (writes postgresql.auto.conf) and reload automatically. restart-tagged settings only take effect after a server restart. Requires a superuser connection.{% endblocktrans %}

{% endif %}