Commit Graph

264 Commits (dbdc717ac6743074c3a55fc5c380638c91d24afd)

Author SHA1 Message Date
Peter Eisentraut a5b35fcedb Remove PointerIsValid() 3 months ago
Álvaro Herrera 325fc0ab14
Avoid including commands/dbcommands.h in so many places 4 months ago
Tom Lane 64840e4624 Fix inconsistent quoting of role names in ACLs. 5 months ago
Peter Geoghegan a6cab6a78e Harmonize function parameter names for Postgres 18. 8 months ago
Nathan Bossart 025e7e1eb4 Remove count_one_bits() in acl.c. 9 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Peter Eisentraut 7f798aca1d Remove useless casts to (void *) 1 year ago
Fujii Masao 4eada203a5 Add has_largeobject_privilege function. 1 year ago
Fujii Masao fefa76f70f Remove old RULE privilege completely. 1 year ago
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