From d505f30281ecf29fd6d39127621cbe783bc9b0eb Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 14 Jan 2004 03:46:28 +0000 Subject: [PATCH] pg_settings should have UPDATE privilege allowed to public. --- src/backend/catalog/system_views.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/catalog/system_views.sql b/src/backend/catalog/system_views.sql index 21f986ebfa..54256186fd 100644 --- a/src/backend/catalog/system_views.sql +++ b/src/backend/catalog/system_views.sql @@ -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;