pg_settings should have UPDATE privilege allowed to public.

This commit is contained in:
Tom Lane 2004-01-14 03:46:28 +00:00
parent 7562103f6e
commit d505f30281

View File

@ -3,7 +3,7 @@
*
* Copyright 1996-2003, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/backend/catalog/system_views.sql,v 1.4 2003/12/03 18:52:00 joe Exp $
* $PostgreSQL: pgsql/src/backend/catalog/system_views.sql,v 1.5 2004/01/14 03:46:28 tgl Exp $
*/
CREATE VIEW pg_user AS
@ -271,3 +271,5 @@ CREATE RULE pg_settings_u AS
CREATE RULE pg_settings_n AS
ON UPDATE TO pg_settings
DO INSTEAD NOTHING;
GRANT SELECT, UPDATE ON pg_settings TO PUBLIC;