pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: me@nathanalden.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7742: Bug when backing up databases with default privileges defined on public schema
Date: Sat, 08 Dec 2012 02:29:30 +0000
Message-ID: <E1ThAAU-0008Ko-Sw@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      7742
Logged by:          Nathan Alden, Sr.
Email address:      me@nathanalden.com
PostgreSQL version: 9.2.2
Operating system:   Windows 7 x64
Description:        

This report is more specific than my previous report, bug #7741. Feel free
to delete the old one.

Follow these steps to reproduce:

1. Connect to the postgres DB.
2. Run the following SQL: 

create database test_database;

3. Run the following SQL:

create role my_group;

4. Connect to the test_database DB.
5. Run the following SQL:

alter default privileges in schema public grant all on types to my_group;

6. Perform a pg_dump (database backup) and observe the following error:

pg_dump: unknown object type (84) in default privileges



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



Message-ID: <E1ThAAU-0008Ko-Sw@wrigleys.postgresql.org>
Permalink:  ../E1ThAAU-0008Ko-Sw@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1ThAAU-0008Ko-Sw@wrigleys.postgresql.org

 · 

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: me@nathanalden.com
  Subject: Re: BUG #7742: Bug when backing up databases with default privileges defined on public schema
  In-Reply-To: <E1ThAAU-0008Ko-Sw@wrigleys.postgresql.org>
  References: <E1ThAAU-0008Ko-Sw@wrigleys.postgresql.org>

* 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