Skip site navigation (1) Skip section navigation (2)

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

From: iann(at)fuelforce(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7507: pg_restore silently fails when restoring a db with the--create flag and no user.
Date: 2012-08-27 15:34:10
Message-ID: E1T61KM-0005nD-Qc@wrigleys.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7507
Logged by:          Ian Nobile
Email address:      iann(at)fuelforce(dot)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=testserver
/Volumes/USBLINKS1/hostname.testserver.net_postgres_database 



Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2012-08-27 16:12:25
Subject: Re: BUG #6412: psql & fe-connect truncate passwords
Previous:From: Bruce MomjianDate: 2012-08-27 14:15:55
Subject: Re: BUG #6401: IS DISTINCT FROM improperly compares geomoetric datatypes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group