pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feedSECURITY LABEL ON PROPERTY GRAPH: supported?
2+ messages / 2 participants
[nested] [flat]
Commits from this thread:
2026-07-06 73dfe79fd6 33bfad0f3c Remove apparent support for SECURITY LABEL ON PROPERTY GRAPH
* SECURITY LABEL ON PROPERTY GRAPH: supported?
@ 2026-07-04 22:12 Noah Misch <noah@leadboat.com>
0 siblings, 1 reply; 2+ messages in thread
From: Noah Misch @ 2026-07-04 22:12 UTC (permalink / raw)
To: Peter Eisentraut <peter@eisentraut.org>; Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>; pgsql-hackers
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?
(I noticed this when a cursory audit of RELKIND_VIEW matches took me to
SecLabelSupportsObjectType(). Consider auditing for RELKIND_VIEW matches that
need edits for RELKIND_PROPGRAPH.)
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: SECURITY LABEL ON PROPERTY GRAPH: supported?
@ 2026-07-06 10:27 Peter Eisentraut <peter@eisentraut.org>
parent: Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2026-07-06 10:27 UTC (permalink / raw)
To: Noah Misch <noah@leadboat.com>; Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>; 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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-07-06 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-07-04 22:12 SECURITY LABEL ON PROPERTY GRAPH: supported? Noah Misch <noah@leadboat.com>
2026-07-06 10:27 ` Peter Eisentraut <peter@eisentraut.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox