Re: problem with recreating database with export
От | Dennis Gearon |
---|---|
Тема | Re: problem with recreating database with export |
Дата | |
Msg-id | 1348760927.10217.YahooMailRC@web181001.mail.ne1.yahoo.com обсуждение исходный текст |
Ответ на | Re: problem with recreating database with export (Alban Hertroys <haramrae@gmail.com>) |
Список | pgsql-general |
Not needed if you are logged in as user postgres in your OS when you enter psql. At least, with the hba_conf file the way it is stock.
But a good point, though. I wonder if I would then have to know the DATABASE password for postgres if I wasn't user postgres in the OS?
Dennis Gearon
But a good point, though. I wonder if I would then have to know the DATABASE password for postgres if I wasn't user postgres in the OS?
Never, ever approach a computer saying or even thinking "I will just do this quickly."
From: Alban Hertroys <haramrae@gmail.com>
To: Dennis Gearon <gearond@sbcglobal.net>
Cc: Adrian Klaver <adrian.klaver@gmail.com>; pgsql-general@postgresql.org
Sent: Thu, September 27, 2012 8:13:17 AM
Subject: Re: [GENERAL] problem with recreating database with export
On 27 September 2012 16:55, Dennis Gearon <gearond@sbcglobal.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.
From: Alban Hertroys <haramrae@gmail.com>
To: Dennis Gearon <gearond@sbcglobal.net>
Cc: Adrian Klaver <adrian.klaver@gmail.com>; pgsql-general@postgresql.org
Sent: Thu, September 27, 2012 8:13:17 AM
Subject: Re: [GENERAL] problem with recreating database with export
On 27 September 2012 16:55, Dennis Gearon <gearond@sbcglobal.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.
В списке pgsql-general по дате отправления: