Re: Forgotten Password - Mailing list pgsql-novice

From Bruno Wolff III
Subject Re: Forgotten Password
Date
Msg-id 20060503134018.GA29954@wolff.to
Whole thread Raw
In response to Forgotten Password  (Juan Pablo Hernandez <juanpablo.hernandez@usm.cl>)
List pgsql-novice
On Sat, Apr 29, 2006 at 19:15:16 -0400,
  Juan Pablo Hernandez <juanpablo.hernandez@usm.cl> wrote:
> Hi, I installed PostgreSQL in my PC (windows XP) a few weeks ago and I
> can´t remember the password for the user 'postgres' so I can't access
> the local database. I can uninstall PostgreSQL but I don't know if I
> will be able to reinstall it since I have the McAfee antivirus
> installed. Is there a super user in PostgreSQL I can use to change the
> passwords? Is there another solution?
> Thank You.

Edit hba.conf to allow postgres to login without a password from some
safe location and restart the server. Once you are in change the password,
restore hba.conf and restart again.

pgsql-novice by date:

Previous
From: Joao Miguel Ferreira
Date:
Subject: database size grows (even after vacuum (full and analyze))....
Next
From: Bruno Wolff III
Date:
Subject: Re: Tracking progress of (plpgsql?) operations