diff options
| author | Tom Lane | 2025-09-12 22:10:11 +0000 |
|---|---|---|
| committer | Tom Lane | 2025-09-12 22:10:11 +0000 |
| commit | 9a71989a8f61d7ee003c443a979a1bd43a08ff63 (patch) | |
| tree | 6ab61f6b04b112d1eaf137061d57f7f3fe402a29 /contrib/jsonb_plpython | |
| parent | f14ea34d6e563374cd71b4e7b91cf8d2f60aabb3 (diff) | |
Reject "ALTER DATABASE/USER ... RESET foo" with invalid GUC name.
If the database or user had no entry in pg_db_role_setting,
RESET silently did nothing --- including not checking the
validity of the given GUC name. This is quite inconsistent
and surprising, because you *would* get such an error if there
were any pg_db_role_setting entry, even though it contains
values for unrelated GUCs.
While this is clearly a bug, changing it in stable branches seems
unwise. The effect will be that some ALTER commands that formerly
were no-ops will now be errors, and people don't like that sort of
thing in minor releases.
Author: Vitaly Davydov <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/30783e-68c28a00-9-41004480@130449754
Diffstat (limited to 'contrib/jsonb_plpython')
0 files changed, 0 insertions, 0 deletions
