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

Commite356743

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 parent542bdb2 commite356743

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
@@ -1340,6 +1340,12 @@ RemoveRoleFromObjectACL(Oid roleid, Oid classid, Oid objid)
13401340
caseTableSpaceRelationId:
13411341
istmt.objtype=ACL_OBJECT_TABLESPACE;
13421342
break;
1343+
caseForeignServerRelationId:
1344+
istmt.objtype=ACL_OBJECT_FOREIGN_SERVER;
1345+
break;
1346+
caseForeignDataWrapperRelationId:
1347+
istmt.objtype=ACL_OBJECT_FDW;
1348+
break;
13431349
default:
13441350
elog(ERROR,"unexpected object class %u",classid);
13451351
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp