Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T61KO-0005br-UH for pgsql-bugs@postgresql.org; Mon, 27 Aug 2012 15:34:13 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T61KN-0005O2-SW for pgsql-bugs@postgresql.org; Mon, 27 Aug 2012 15:34:12 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T61KN-00065n-BG for pgsql-bugs@postgresql.org; Mon, 27 Aug 2012 15:34:11 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1T61KM-0005nD-Qc for pgsql-bugs@postgresql.org; Mon, 27 Aug 2012 15:34:10 +0000 Date: Mon, 27 Aug 2012 15:34:10 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7507: pg_restore silently fails when restoring a db with the --create flag and no user. To: pgsql-bugs@postgresql.org From: iann@fuelforce.com X-Pg-Spam-Score: -2.1 (--) X-Archive-Number: 201208/205 X-Sequence-Number: 33929 The following bug has been logged on the website: Bug reference: 7507 Logged by: Ian Nobile Email address: iann@fuelforce.com PostgreSQL version: 9.1.4 Operating system: Mac OS X Version 10.8 Description: = Attempting to restore a db using pg_restore to a new database server using the --create and --dbname flags fails silently if the db owner username does not exist in the new db or the -O flag is not used. Command used: pg_restore --create --verbose --dbname=3Dtestserver /Volumes/USBLINKS1/hostname.testserver.net_postgres_database =