-
- Downloads
Make more use of RoleSpec struct
Most code was casting this through a generic Node. By declaring
everything as RoleSpec appropriately, we can remove a bunch of casts and
ad-hoc node type checking.
Reviewed-by:
Alvaro Herrera <alvherre@2ndquadrant.com>
Showing
- src/backend/catalog/aclchk.c 3 additions, 3 deletionssrc/backend/catalog/aclchk.c
- src/backend/commands/policy.c 1 addition, 1 deletionsrc/backend/commands/policy.c
- src/backend/commands/user.c 7 additions, 5 deletionssrc/backend/commands/user.c
- src/backend/parser/gram.y 9 additions, 8 deletionssrc/backend/parser/gram.y
- src/backend/utils/adt/acl.c 6 additions, 22 deletionssrc/backend/utils/adt/acl.c
- src/include/nodes/parsenodes.h 11 additions, 11 deletionssrc/include/nodes/parsenodes.h
- src/include/utils/acl.h 4 additions, 4 deletionssrc/include/utils/acl.h
Loading
Please register or sign in to comment