Commit Graph

153 Commits (64f77c6a65cb6a0731e59acbfab1dd1663b1cdd3)

Author SHA1 Message Date
Dean Rasheed 64f77c6a65 Fix security checks in selectivity estimation functions. 1 month ago
Tom Lane ccacaf4fae Fix inconsistent quoting of role names in ACLs. 2 months ago
Tomas Vondra 8cc139bec3 Introduce pg_shmem_allocations_numa view 5 months ago
Fujii Masao 0d6c477664 Extend ALTER DEFAULT PRIVILEGES to define default privileges for large objects. 5 months ago
Andres Freund 60f566b4f2 aio: Add pg_aios view 5 months ago
Nathan Bossart 025e7e1eb4 Remove count_one_bits() in acl.c. 6 months ago
Tom Lane 98fc31d649 Avoid race condition between "GRANT role" and "DROP ROLE". 7 months ago
Nathan Bossart 39e3bcae44 Fix an ALTER GROUP ... DROP USER error message. 8 months ago
Tom Lane 5a2fed911a Fix improper interactions between session_authorization and role. 10 months ago
Fujii Masao 4eada203a5 Add has_largeobject_privilege function. 1 year ago
Fujii Masao fefa76f70f Remove old RULE privilege completely. 1 year ago
Michael Paquier d898665bf7 Extend pg_get_acl() to handle sub-object IDs 1 year ago
Michael Paquier 4564f1cebd Add pg_get_acl() to get the ACL for a database object 1 year ago
Nathan Bossart ecb0fd3372 Reintroduce MAINTAIN privilege and pg_maintain predefined role. 2 years ago
Jeff Davis 2af07e2f74 Fix search_path to a safe value during maintenance operations. 2 years ago
Noah Misch 3a9b18b309 Ban role pg_signal_backend from more superuser backend types. 2 years ago
Nathan Bossart 151c22deee Revert MAINTAIN privilege and pg_maintain predefined role. 2 years ago
Nathan Bossart 4dbdb82513 Fix cache lookup hazards introduced by ff9618e82a. 2 years ago
Jeff Davis 2fcc7ee7af Revert "Fix search_path to a safe value during maintenance operations." 2 years ago
Jeff Davis 05e1737351 Fix search_path to a safe value during maintenance operations. 2 years ago
Peter Eisentraut de4d456b40 Improve several permission-related error messages. 3 years ago
Michael Paquier b8da37b3ad Rework pg_input_error_message(), now renamed pg_input_error_info() 3 years ago
Jeff Davis c44f6334ca Simplify permissions for LOCK TABLE. 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 4441fc704d Provide non-superuser predefined roles for vacuum and analyze 3 years ago
Andrew Dunstan b5d6382496 Provide per-table permissions for vacuum and analyze. 3 years ago
Tom Lane b62303794e Fix sloppy cleanup of roles in privileges.sql. 3 years ago
Robert Haas 3d14e171e9 Add a SET option to the GRANT command. 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
Robert Haas 6566133c5f Ensure that pg_auth_members.grantor is always valid. 3 years ago
Tom Lane b762bbde30 Allow makeaclitem() to accept multiple privilege names. 3 years ago
Noah Misch 0abc1a059e In REFRESH MATERIALIZED VIEW, set user ID before running user code. 3 years ago
Noah Misch a117cebd63 Make relation-enumerating operations be security-restricted operations. 3 years ago
Robert Haas 79de9842ab Remove the ability of a role to administer itself. 4 years ago
Alvaro Herrera 7103ebb7aa
Add support for MERGE SQL command 4 years ago
Daniel Gustafsson e68570e388 Revert b2a459edf "Fix GRANTED BY support in REVOKE ROLE statements" 4 years ago
Daniel Gustafsson 4597fd78d6 Add test for REVOKE ADMIN OPTION 4 years ago
Daniel Gustafsson b2a459edfe Fix GRANTED BY support in REVOKE ROLE statements 4 years ago
Jeff Davis 77ea4f9439 Grant memory views to pg_read_all_stats. 4 years ago
Tom Lane e135743ef0 Reduce runtime of privileges.sql test under CLOBBER_CACHE_ALWAYS. 4 years ago
Tom Lane c5b7ba4e67 Postpone some stuff out of ExecInitModifyTable. 4 years ago
Stephen Frost 6c3ffd697e Add pg_read_all_data and pg_write_all_data 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
Tom Lane c028faf2a6 Fix mishandling of column-level SELECT privileges for join aliases. 5 years ago
Heikki Linnakangas 6214e2b228 Fix permission checks on constraint violation errors on partitions. 5 years ago
Peter Eisentraut 6aaaa76bb4 Allow GRANTED BY clause in normal GRANT and REVOKE statements 5 years ago