Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2O5K-00038H-Gq for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Oct 2017 20:58:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e2O5K-0000Xp-3o for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Oct 2017 20:58:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e2O5J-0000Wk-4n for pgsql-hackers@postgresql.org; Wed, 11 Oct 2017 20:58:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e2O5G-0007he-97 for pgsql-hackers@postgresql.org; Wed, 11 Oct 2017 20:58:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v9BKwLZ7029238; Wed, 11 Oct 2017 16:58:21 -0400 From: Tom Lane To: Laurenz Albe cc: pgsql-hackers@postgresql.org Subject: Re: Omission in GRANT documentation In-reply-to: <1507620895.4152.1.camel@cybertec.at> References: <1507620895.4152.1.camel@cybertec.at> Comments: In-reply-to Laurenz Albe message dated "Tue, 10 Oct 2017 09:34:55 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29236.1507755501.1@sss.pgh.pa.us> Date: Wed, 11 Oct 2017 16:58:21 -0400 Message-ID: <29237.1507755501@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Laurenz Albe writes: > grant.sgml says that > the default privileges granted to PUBLIC are as follows: CONNECT and > CREATE TEMP TABLE for databases; EXECUTE privilege for functions; > and USAGE privilege for languages. > But types also have the USAGE privilege for PUBLIC by default: Yup, that's an oversight. > Hence I propose the attached documentation patch. Pushed, with a bit of additional wordsmithing. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers