On 05.07.26 00:12, Noah Misch wrote:
> Commit 2f094e7 edited doc/src/sgml/ref/security_label.sgml to say this would
> work, but:
>
> SECURITY LABEL ON PROPERTY GRAPH pgr IS 'unclassified';
> ERROR: security labels are not supported for this type of object
>
> Which matches your intent, the implementation or the documentation?
It was not meant to be supported (because it's unclear what it should
do; someone could fix that). I suppose the documentation was changed
because the syntax does work, but that's just because of the way that
gram.y is factored. We don't document similar
working-but-ultimately-not-working syntax, so this was inconsistent.
There were some similar leftovers in the psql tab completion. I have
committed a fix for this.