pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
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
Date: Sun, 09 Dec 2012 00:15:18 -0500
Message-ID: <270.1355030118@sss.pgh.pa.us> (raw)
In-Reply-To: <22681.1354985878@sss.pgh.pa.us>
References: <E1Th9ki-0007ii-J2@wrigleys.postgresql.org>
	<22681.1354985878@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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=6cb8c6043ee47ced46da131bc0705e9c4b...
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



view thread (3+ messages)

Message-ID: <270.1355030118@sss.pgh.pa.us>
Permalink:  ../270.1355030118@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/270.1355030118@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, me@nathanalden.com
  Subject: Re: BUG #7741: Two bugs when backing up databases with default privileges defined on public schema
  In-Reply-To: <270.1355030118@sss.pgh.pa.us>
  References: <E1Th9ki-0007ii-J2@wrigleys.postgresql.org> <22681.1354985878@sss.pgh.pa.us> <270.1355030118@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox