Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 35CA56402A8 for ; Thu, 10 Jun 2010 15:49:02 -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 78286-02 for ; Thu, 10 Jun 2010 18:48:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from out-0.mx.aerioconnect.net (out-0-39.mx.aerioconnect.net [216.240.47.99]) by mail.postgresql.org (Postfix) with ESMTP id A6290640296 for ; Thu, 10 Jun 2010 15:48:54 -0300 (ADT) Received: from idiom.com (postfix@mx0.idiom.com [216.240.32.160]) by out-0.mx.aerioconnect.net (8.13.8/8.13.8) with ESMTP id o5AImmmH028319 for ; Thu, 10 Jun 2010 11:48:49 -0700 X-Client-Authorized: MaGic Cook1e Received: from [192.168.2.105] (adsl-71-135-185-107.dsl.pltn13.pacbell.net [71.135.185.107]) by idiom.com (Postfix) with ESMTP id 490B42D601D for ; Thu, 10 Jun 2010 11:48:46 -0700 (PDT) Message-ID: <4C11338E.6050702@obviously.com> Date: Thu, 10 Jun 2010 11:48:46 -0700 From: Bryce Nesbitt User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Returning to default (e.g. blank) table permissions after a revoke? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 216.240.47.51 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.5 tagged_above=-5 required=5 tests=BAYES_05=-0.5 X-Spam-Level: X-Archive-Number: 201006/43 X-Sequence-Number: 34234 If I create a new table the "Access privileges" are blank, which gives implicit access to the table owner. But if I touch the grants, then revoke, the privileges are set to {} which is not the same thing: production=> create table zzz_junk1 (); production=> \z zzz_junk1 Schema | Name | Type | Access privileges --------+-----------+-------+------------------- public | zzz_junk1 | table | production=> grant all on zzz_junk1 to production; production=> \z zzz_junk1 Access privileges for database "production" Schema | Name | Type | Access privileges --------+-----------+-------+-------------------------------- public | zzz_junk1 | table | {production=arwdxt/production} production=> revoke all on zzz_junk1 from production; production=> \z zzz_junk1 Access privileges for database "production" Schema | Name | Type | Access privileges --------+-----------+-------+------------------- public | zzz_junk1 | table | {} How can I return to the initial state, where the "Access privileges" are unspecified? I'm using Postgres 8.3 here. http://www.postgresql.org/docs/8.3/static/sql-grant.html does not seem to cover this topic.