mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
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>
This commit is contained in:
parent
32ca22b02d
commit
41cefbb6db
@ -6507,7 +6507,7 @@ SecLabelStmt:
|
||||
{
|
||||
SecLabelStmt *n = makeNode(SecLabelStmt);
|
||||
n->provider = $3;
|
||||
n->objtype = OBJECT_TYPE;
|
||||
n->objtype = OBJECT_DOMAIN;
|
||||
n->object = (Node *) $6;
|
||||
n->label = $8;
|
||||
$$ = (Node *) n;
|
||||
|
Loading…
Reference in New Issue
Block a user