diff --git a/web/pgadmin/browser/server_groups/servers/templates/macros/variable.macros b/web/pgadmin/browser/server_groups/servers/templates/macros/variable.macros index a40d33d4f..bc36dff11 100644 --- a/web/pgadmin/browser/server_groups/servers/templates/macros/variable.macros +++ b/web/pgadmin/browser/server_groups/servers/templates/macros/variable.macros @@ -1,6 +1,6 @@ {% macro APPLY(conn, database, role, param, value) -%} ALTER {% if role %}ROLE {{ self.conn|qtIdent(role) }}{% if database %} IN DATABASE {{ conn|qtIdent(database) }}{% endif %}{% else %}DATABASE {{ conn|qtIdent(database) }}{% endif %} SET {{ conn|qtIdent(param) }} TO {{ value|qtLiteral }}; {%- endmacro %} -{% macro DROP(conn, database, role, param) -%} +{% macro RESET(conn, database, role, param) -%} ALTER {% if role %}ROLE {{ self.conn|qtIdent(role) }}{% if database %} IN DATABASE {{ conn|qtIdent(database) }}{% endif %}{% else %}DATABASE {{ conn|qtIdent(database) }}{% endif %} RESET {{ conn|qtIdent(param) }}; {%- endmacro %}