From: | alvherre(at)postgresql(dot)org (Alvaro Herrera) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Prevent ALTER USER f RESET ALL from removing the settings that |
Date: | 2010-03-25 14:45:51 |
Message-ID: | 20100325144551.BDAF27541D0@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Prevent ALTER USER f RESET ALL from removing the settings that were put there
by a superuser -- "ALTER USER f RESET setting" already disallows removing such a
setting.
Apply the same treatment to ALTER DATABASE d RESET ALL when run by a database
owner that's not superuser.
Tags:
----
REL8_0_STABLE
Modified Files:
--------------
pgsql/src/backend/commands:
dbcommands.c (r1.148.4.3 -> r1.148.4.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.148.4.3&r2=1.148.4.4)
user.c (r1.147.4.1 -> r1.147.4.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/user.c?r1=1.147.4.1&r2=1.147.4.2)
pgsql/src/backend/utils/misc:
guc.c (r1.252.4.9 -> r1.252.4.10)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.252.4.9&r2=1.252.4.10)
pgsql/src/include/utils:
guc.h (r1.58.4.2 -> r1.58.4.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/guc.h?r1=1.58.4.2&r2=1.58.4.3)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2010-03-25 14:46:06 | pgsql: Prevent ALTER USER f RESET ALL from removing the settings that |
Previous Message | Alvaro Herrera | 2010-03-25 14:45:36 | pgsql: Prevent ALTER USER f RESET ALL from removing the settings that |