-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Wed, 9 Nov 2005, Marc A. Donis wrote:
I have lost the superuser (user postgres) password, but I still have the unix root password. Is there anything I can do to reset the postgres user's password (short of reinstalling Postgres)?
Edit pg_hba.conf and set the auth method to trust. Then reload postgresql. This will stop PostgreSQL from asking you a password.
Regards, - -- Devrim GUNDUZ Kivi Bilişim Teknolojileri - http://www.kivi.com.tr devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDce8u4zE8DGqpiZARArkjAJ4jmuLYV6I3oLnTowbF3d0IOfDYTQCeKDqZ je2SdfQvAxgOTUhirXlzq6A= =8VN2 -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend