Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit533073c

Browse files
committed
Add missing support for removing foreign data wrapper / server privileges
belonging to a user at DROP OWNED BY. Foreign data wrappers and serversdon't do anything useful yet, which is why no-one has noticed, but since wehave them, seems prudent to fix this. Per report from Chetan Suttraway.Backpatch to 9.0, 8.4 has the same problem but this patch didn't applythere so I'm not going to bother.
1 parent9dba66c commit533073c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/backend/catalog/aclchk.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,12 @@ RemoveRoleFromObjectACL(Oid roleid, Oid classid, Oid objid)
13861386
caseTableSpaceRelationId:
13871387
istmt.objtype=ACL_OBJECT_TABLESPACE;
13881388
break;
1389+
caseForeignServerRelationId:
1390+
istmt.objtype=ACL_OBJECT_FOREIGN_SERVER;
1391+
break;
1392+
caseForeignDataWrapperRelationId:
1393+
istmt.objtype=ACL_OBJECT_FDW;
1394+
break;
13891395
default:
13901396
elog(ERROR,"unexpected object class %u",classid);
13911397
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp