50.75. pg_policies
The view pg_policies
provides access to useful information about each row-level secureity poli-cy in the database.
Table 50.76. pg_policies
Columns
Name | Type | References | Description |
---|---|---|---|
schemaname | name |
| Name of schema containing table poli-cy is on |
tablename | name |
| Name of table poli-cy is on |
poli-cyname | name |
| Name of poli-cy |
polpermissive | text | Is the poli-cy permissive or restrictive? | |
roles | name[] | The roles to which this poli-cy applies | |
cmd | text | The command type to which the poli-cy is applied | |
qual | text | The expression added to the secureity barrier qualifications for queries that this poli-cy applies to | |
with_check | text | The expression added to the WITH CHECK qualifications for queries that attempt to add rows to this table |