Skip to content

Commit 41cefbb

Browse files
committed
Fix OBJECT_TYPE/OBJECT_DOMAIN confusion
This doesn't have a significant impact except that now SECURITY LABEL ON DOMAIN rejects types that are not domains. Reported-by: 高增琦 <pgf00a@gmail.com>
1 parent 32ca22b commit 41cefbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/parser/gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6507,7 +6507,7 @@ SecLabelStmt:
65076507
{
65086508
SecLabelStmt *n = makeNode(SecLabelStmt);
65096509
n->provider = $3;
6510-
n->objtype = OBJECT_TYPE;
6510+
n->objtype = OBJECT_DOMAIN;
65116511
n->object = (Node *) $6;
65126512
n->label = $8;
65136513
$$ = (Node *) n;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy