Prevent ALTER USER f RESET ALL from removing the settings that were put there

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: be8cebc717ef0b583ada09da8d0245793697c1a8
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2010-03-25T14:44:34Z
Releases: 9.0.0
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.

Files