Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ThZEc-0002l4-Kg for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Dec 2012 05:15:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1ThZEb-0002Wo-Lu for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Dec 2012 05:15:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ThZEb-0002Wj-3q for pgsql-bugs@postgresql.org; Sun, 09 Dec 2012 05:15:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ThZEX-0004cD-5o for pgsql-bugs@postgresql.org; Sun, 09 Dec 2012 05:15:24 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qB95FIUR000271; Sun, 9 Dec 2012 00:15:18 -0500 (EST) From: Tom Lane To: me@nathanalden.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7741: Two bugs when backing up databases with default privileges defined on public schema In-reply-to: <22681.1354985878@sss.pgh.pa.us> References: <22681.1354985878@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 08 Dec 2012 11:57:58 -0500" Date: Sun, 09 Dec 2012 00:15:18 -0500 Message-ID: <270.1355030118@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org I wrote: > me@nathanalden.com writes: >> alter default privileges in schema public grant all on types to my_group; >> [ leads to ] >> pg_dump: unknown object type (84) in default privileges > Hmm ... looks like whoever added GRANT ON TYPES did a pretty half-baked > job. Will look into it --- thanks for the report! Ugh ... there were more creepy-crawlies under that rock than I expected. I've squashed a bunch of them: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=6cb8c6043ee47ced46da131bc0705e9c4bdd8667 but I wouldn't really want to bet that I didn't miss anything. If you have the ability to apply patches locally, please apply that one and keep testing. If not, I'd recommend staying away from datatype privileges until 9.2.3 is out ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs