Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UhJfD-0006dc-Dc for pgsql-bugs@arkaria.postgresql.org; Tue, 28 May 2013 13:10:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UhJfC-0006qL-PW for pgsql-bugs@arkaria.postgresql.org; Tue, 28 May 2013 13:10:06 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UhJfC-0006qA-4v for pgsql-bugs@postgresql.org; Tue, 28 May 2013 13:10:06 +0000 Received: from eisentraut.org ([85.214.91.16] helo=gattler.pezone.net) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UhJf4-0000pG-D1 for pgsql-bugs@postgresql.org; Tue, 28 May 2013 13:10:05 +0000 Received: from jesse.mybdev.com (unknown [204.145.120.11]) by gattler.pezone.net (Postfix) with ESMTPSA id 22B115A8366; Tue, 28 May 2013 13:09:56 +0000 (UTC) Message-ID: <51A4ACA9.80904@gmx.net> Date: Tue, 28 May 2013 09:10:01 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: polobo@yahoo.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #8174: Ownership reassigned public schema restored with postgres as owner References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 1.8 (+) 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 On 5/21/13 6:25 PM, polobo@yahoo.com wrote: > 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. I can confirm that that is broken. If you use 9.1 or later, your non-postgres user will at least get all its privileges on the schema public back. In 9.0, it won't even get that. But dumping and restoring the owner still does not happen. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs