Re: SECURITY LABEL ON PROPERTY GRAPH: supported? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: SECURITY LABEL ON PROPERTY GRAPH: supported?
Date
Msg-id 4bf35717-4d4e-4329-aa7f-f0bd7e8bff4e@eisentraut.org
Whole thread
List pgsql-hackers
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.




pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Proposal: Conflict log history table for Logical Replication
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore