pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: polobo@yahoo.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8174: Ownership reassigned public schema restored with postgres as owner
Date: Tue, 21 May 2013 22:25:03 +0000
Message-ID: <E1UeuzP-00025m-1h@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:      8174
Logged by:          David Johnston
Email address:      polobo@yahoo.com
PostgreSQL version: 9.0.13
Operating system:   Ubuntu Linux 10.04
Description:        

Having performed a "pg_dump --schema_only --format=c" of a database I used
"pg_restore -C" (after dumping and loading globals) to recreate the database
on a new machine and the owner of the "public" schema on the new machine was
"postgres" while the owner within the existing database is not.  There are
numerous other schemas in the database for which the owner is the "not
postgres" user and all of those schemas have the proper ownership assigned -
it is just the public schema that is at issue.  The database itself is
(correctly) created with ownership assigned to this other role as well.

I would expect that the public schema owner would match that in the source
database but maybe I am missing something.

David J.







-- 
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 (2+ messages)  latest in thread

Message-ID: <E1UeuzP-00025m-1h@wrigleys.postgresql.org>
Permalink:  ../E1UeuzP-00025m-1h@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1UeuzP-00025m-1h@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: polobo@yahoo.com
  Subject: Re: BUG #8174: Ownership reassigned public schema restored with postgres as owner
  In-Reply-To: <E1UeuzP-00025m-1h@wrigleys.postgresql.org>
  References: <E1UeuzP-00025m-1h@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