mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
7 lines
388 B
Plaintext
7 lines
388 B
Plaintext
{% macro APPLY(conn, type, name, provider, label) -%}
|
|
SECURITY LABEL{% if provider and provider != '' %} FOR {{ conn|qtIdent(provider) }}{% endif %} ON {{ type }} {{ conn|qtIdent(name) }} IS {{ label|qtLiteral }};
|
|
{%- endmacro %}
|
|
{% macro DROP(conn, type, name, provider) -%}
|
|
SECURITY LABEL FOR {{ conn|qtIdent(provider) }} ON {{ type }} {{ conn|qtIdent(name) }} IS NULL;
|
|
{%- endmacro %}
|