Re: Restore

From: bricklen <bricklen(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Restore
Date: 2010-12-24 23:47:34
Message-ID: AANLkTinTmTaL0zK6QB1k-sAUFyX9rGmhKZgvK-9O_jcP@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 24, 2010 at 3:38 PM, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> wrote:
> On Friday 24 December 2010 3:28:38 pm Bob Pawley wrote:
>> Thanks Adrian but
>>
>> psql –U postgres -d PDW  -f PDW_June_10.sql
>>
>> asks - "Password for user postgres:"
>>
>> When I type the password the cursor doesn't respond and on enter I get
>> password failed.
>>
>> Bob
>>
>
> A little bit of testing on my part showed that your form of connecting should
> work also i.e.psql –U postgres PDW < PDW_June_10.sql.
> A couple of questions.
> Can you connect to a database using psql and -U postgres?
> Does the postgres user have a password?
> If you can connect to a database with  psql what does \l show? What I am looking
> for is whether PDW has its case preserved or not?

How about the pg_hba.conf setting? Is it set to something like md5?

In response to

  • Re: Restore at 2010-12-24 23:38:27 from Adrian Klaver

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2010-12-25 00:03:52 Re: Restore
Previous Message Adrian Klaver 2010-12-24 23:38:27 Re: Restore