Re: SECURITY LABEL ON PROPERTY GRAPH: supported?

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Noah Misch <noah(at)leadboat(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SECURITY LABEL ON PROPERTY GRAPH: supported?
Date: 2026-07-06 10:27:36
Message-ID: 4bf35717-4d4e-4329-aa7f-f0bd7e8bff4e@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2026-07-06 10:28:23 Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
Previous Message Dilip Kumar 2026-07-06 10:18:53 Re: Proposal: Conflict log history table for Logical Replication