Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8WPD-0003gb-4D for pgsql-docs@arkaria.postgresql.org; Mon, 25 Mar 2019 20:41:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h8WPB-0001tz-5s for pgsql-docs@arkaria.postgresql.org; Mon, 25 Mar 2019 20:41:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8WPA-0001tK-Sd for pgsql-docs@lists.postgresql.org; Mon, 25 Mar 2019 20:41:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8WP7-0003X8-N3 for pgsql-docs@lists.postgresql.org; Mon, 25 Mar 2019 20:41:10 +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 x2PKf639023832; Mon, 25 Mar 2019 16:41:07 -0400 From: Tom Lane To: brandon.hsu@omniwaresoft.com.tw cc: pgsql-docs@lists.postgresql.org Subject: Re: REASSIGN OWNED command page is not clear regarding to DEFAULT PRIVILEGE objects. In-reply-to: <155348282848.9808.12629518043813943231@wrigleys.postgresql.org> References: <155348282848.9808.12629518043813943231@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Mon, 25 Mar 2019 03:00:28 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23830.1553546466.1@sss.pgh.pa.us> Date: Mon, 25 Mar 2019 16:41:06 -0400 Message-ID: <23831.1553546466@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Doc comments form writes: > Recently I try to drop a role without affecting objects dropped owned by it, > and try to use REASSIGN OWNED command to transfer ownership. > But we find DEFAULT PRIVILEGE policies are not transferred. > ... > Is it possible to add a note in REASSIGN OWNED page for this behavior? The REASSIGN OWNED page does mention that it doesn't touch privileges on non-owned objects, but I agree that it'd be better to be explicit that that applies to default privileges. Will fix, thanks for reporting! regards, tom lane