diff options
author | Robert Haas <rhaas@postgresql.org> | 2022-07-26 14:10:38 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2022-07-26 14:10:38 -0400 |
commit | e530be2c5ce77475d56ccf8f4e0c4872b666ad5f (patch) | |
tree | fdefef95474e0530a4c8a9cced5c59f77dbc5fbe /src/backend/utils/cache | |
parent | f92944137cdec3e80e826879d817a2d3dff68b5f (diff) | |
download | postgresql-e530be2c5ce77475d56ccf8f4e0c4872b666ad5f.tar.gz postgresql-e530be2c5ce77475d56ccf8f4e0c4872b666ad5f.zip |
Do not allow removal of superuser privileges from bootstrap user.
A bootstrap user who is not a superuser will still own many
important system objects, such as the pg_catalog schema, that
will likely allow that user to regain superuser status. Therefore,
allowing the superuser property to be removed from the superuser
creates a false perception of security where none exists.
Although removing superuser from the bootstrap user is also a bad idea
and should be considered unsupported in all released versions, no
back-patch, as this is a behavior change.
Discussion: http://postgr.es/m/CA+TgmoZirCwArJms_fgvLBFrC6b=HdxmG7iAhv+kt_=NBA7tEw@mail.gmail.com
Diffstat (limited to 'src/backend/utils/cache')
0 files changed, 0 insertions, 0 deletions