BUG #7507: pg_restore silently fails when restoring a db with the --create flag and no user. - Mailing list pgsql-bugs

From iann@fuelforce.com
Subject BUG #7507: pg_restore silently fails when restoring a db with the --create flag and no user.
Date
Msg-id E1T61KM-0005nD-Qc@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #7507: pg_restore silently fails when restoring a db with the --create flag and no user.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #7507: pg_restore silently fails when restoring a db with the --create flag and no user.  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
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 =

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #6412: psql & fe-connect truncate passwords
Next
From: Tom Lane
Date:
Subject: Re: BUG #7507: pg_restore silently fails when restoring a db with the --create flag and no user.