Re: Restore

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Restore
Дата
Msg-id 201012241459.47159.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на Restore  ("Bob Pawley" <rjpawley@shaw.ca>)
Ответы Re: Restore  ("Bob Pawley" <rjpawley@shaw.ca>)
Список pgsql-general
On Friday 24 December 2010 12:36:32 pm Bob Pawley wrote:
> Hi
>
> I am attempting to restore a database using -
>
> psql PDW < PDW_June_10.sql
>
> psql –U postgres PDW < PDW_June_10.sql

psql –U postgres -d PDW  -f PDW_June_10.sql

>
> The response asks me for a password.
>
> I use the same password with which I connect to the server but it is not
> accepted.
>
> Without the –U postgres identifier it asks me for the password of my
> computer - which doesn’t exist.

Without a specified -U it psql will use your system user name.
See here for all the gory details:
http://www.postgresql.org/docs/9.0/interactive/app-psql.html

>
> How can I get around this??
>
> Bob



--
Adrian Klaver
adrian.klaver@gmail.com

В списке pgsql-general по дате отправления:

Предыдущее
От: pasman pasmański
Дата:
Сообщение: Compress data sent to client
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Ownership/Permissions Problem