Commit Graph

255 Commits (f80b09bac87d6b49f5dbb6131da5fbd9b9773c5c)

Author SHA1 Message Date
Tom Lane 35dd40d34c Improve tracking of role dependencies of pg_init_privs entries. 2 years ago
Nathan Bossart d365ae7054 Optimize roles_is_member_of() with a Bloom filter. 2 years ago
Nathan Bossart ecb0fd3372 Reintroduce MAINTAIN privilege and pg_maintain predefined role. 2 years ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Tom Lane 403ac226dd Harden has_xxx_privilege() functions against concurrent object drops. 2 years ago
Michael Paquier 2a990abd79 Add missing ObjectIdGetDatum() in syscache lookup calls for Oids 2 years ago
Nathan Bossart 151c22deee Revert MAINTAIN privilege and pg_maintain predefined role. 2 years ago
Michael Paquier 8961cb9a03 Fix typos in comments 3 years ago
David Rowley d91d163529 Fix incorrect function name reference 3 years ago
David Rowley b4dbf3e924 Fix various typos 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Tom Lane 47f3f97fcd Convert a few more datatype input functions to report errors softly. 3 years ago
Jeff Davis 60684dd834 Add grantable MAINTAIN privilege and pg_maintain role. 3 years ago
Andrew Dunstan b5d6382496 Provide per-table permissions for vacuum and analyze. 3 years ago
David Rowley 2d1f3bce97 Fix some 32-bit shift warnings in MSVC 3 years ago
Robert Haas 3d14e171e9 Add a SET option to the GRANT command. 3 years ago
Peter Eisentraut c727f511bd Refactor aclcheck functions 3 years ago
Peter Eisentraut b5621b66e7 Unify some internal error message wordings 3 years ago
Alvaro Herrera d84a7b290f
Change some errdetail() to errdetail_internal() 3 years ago
Robert Haas 0101f770a0 Fix a bug in roles_is_member_of. 3 years ago
Robert Haas e3ce2de09d Allow grant-level control of role inheritance behavior. 3 years ago
Robert Haas ce6b672e44 Make role grant system more consistent with other privileges. 3 years ago
Peter Eisentraut 9fd45870c1 Replace many MemSet calls with struct initialization 3 years ago
Tom Lane b762bbde30 Allow makeaclitem() to accept multiple privilege names. 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
Tom Lane a0ffa885e4 Allow granting SET and ALTER SYSTEM privileges on GUC parameters. 4 years ago
Joe Conway 6198420ad8 Use has_privs_for_roles for predefined role checks 4 years ago
Robert Haas 79de9842ab Remove the ability of a role to administer itself. 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Noah Misch df5efaf441 Standardize pg_authid oid_symbol values. 5 years ago
Stephen Frost c9c41c7a33 Rename Default Roles to Predefined Roles 5 years ago
Joe Conway b12bd4869b Fix has_column_privilege function corner case 5 years ago
Noah Misch a14a0118a1 Add "pg_database_owner" default role. 5 years ago
Noah Misch f687bf61ed Merge similar algorithms into roles_is_member_of(). 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Noah Misch 08db7c63f3 Invalidate acl.c caches when pg_authid changes. 5 years ago
Peter Eisentraut 45b9805706 Allow CURRENT_ROLE where CURRENT_USER is accepted 5 years ago
Tom Lane 3436c5e283 Remove ACLDEBUG #define and associated code. 6 years ago
Robert Haas 05d8449e73 Move src/backend/utils/hash/hashfn.c to src/common 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Amit Kapila 14aec03502 Make the order of the header file includes consistent in backend modules. 6 years ago
Thomas Munro 7815e7efdb Add reusable routine for making arrays unique. 6 years ago
Andres Freund 6a04d345fd Don't include utils/array.h from acl.h. 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Alvaro Herrera af38498d4c Move hash_any prototype from access/hash.h to utils/hashutils.h 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Andres Freund 578b229718 Remove WITH OIDS support, change oid catalog column visibility. 7 years ago
Tom Lane 3d0f68dd30 Fix corner-case failures in has_foo_privilege() family of functions. 7 years ago