Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 6F301B5D95B for ; Thu, 12 May 2011 20:57:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 85895-07 for ; Thu, 12 May 2011 23:57:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 654FDB5D94C for ; Thu, 12 May 2011 20:57:05 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p4CNv4tJ013252; Thu, 12 May 2011 19:57:04 -0400 (EDT) To: Grzegorz Szpetkowski cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6021: There is no difference between default and empty access privileges with \dp In-reply-to: References: <201105110710.p4B7ALQ5021179@wwwmaster.postgresql.org> <11419.1305238830@sss.pgh.pa.us> Comments: In-reply-to Grzegorz Szpetkowski message dated "Fri, 13 May 2011 01:45:56 +0200" Date: Thu, 12 May 2011 19:57:04 -0400 Message-ID: <13251.1305244624@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/120 X-Sequence-Number: 30259 Grzegorz Szpetkowski writes: > I see that I just confused old PostgreSQL 8.3 curly bracket behaviour > with new 8.4/9.0 (I am using 8.3 all the time): Oh, you're right --- so I was mistaken to claim it had always been like that. Before we started using array_to_string here, you *could* tell the difference between default privileges and no privileges. The precedent of previous versions makes it more plausible that we should print '{}' for no privileges, but I'm still not quite convinced. Anybody else have an opinion? regards, tom lane