Re: problem with recreating database with export

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Dennis Gearon <gearond(at)sbcglobal(dot)net>
Cc: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: problem with recreating database with export
Date: 2012-09-27 15:13:15
Message-ID: CAF-3MvNYneS_FPwPA2X9pQ2ySJ+dSHZ=C6sz+NagnX1hrKhWSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 27 September 2012 16:55, Dennis Gearon <gearond(at)sbcglobal(dot)net> wrote:
> <note to future>
> To anyone reading this in the future, if you have problems importing a plain
> text database export, it is usually impossible to do:
> psql -d some_dbase -f the_backup.sql. I don't know why.

Looks like you forgot -U postgres

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2012-09-27 15:48:47 Re: problem with recreating database with export
Previous Message Dennis Gearon 2012-09-27 14:55:15 Re: problem with recreating database with export