1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Doc: you must own the target object to use SECURITY LABEL.

For some reason this wasn't mentioned before.

Author: Patrick Stählin <me@packi.ch>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/931e012a-57ba-41ba-9b88-24323a46dec5@packi.ch
Backpatch-through: 13
This commit is contained in:
Tom Lane
2025-06-05 11:29:24 -04:00
parent 002938f15c
commit 767d38e2c0

View File

@ -84,6 +84,10 @@ SECURITY LABEL [ FOR <replaceable class="parameter">provider</replaceable> ] ON
based on object labels, rather than traditional discretionary access control based on object labels, rather than traditional discretionary access control
(DAC) concepts such as users and groups. (DAC) concepts such as users and groups.
</para> </para>
<para>
You must own the database object to use <command>SECURITY LABEL</command>.
</para>
</refsect1> </refsect1>
<refsect1> <refsect1>