Re: Regaining superuser access

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bernt Drange <badrange(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Regaining superuser access
Date: 2008-09-18 17:03:26
Message-ID: 20080918170326.GH3868@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

Bernt Drange escribió:

> After a lot of fiddling with being able to enter single user mode on a
> windows machine (I had to figure out how to run the command line as
> the correct user, then for some reason -D didn't work, but SET
> PGDATA=xxx worked), I finally managed to fix my problem.

Hmm, the -D thing not working should probably be studied -- perhaps
we're missing escaping something somewhere. Does the PGDATA path
contain spaces or weird chars?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mauri Sahlberg 2008-09-18 18:00:14 Re: Help request: how to tune performance?
Previous Message Bernt Drange 2008-09-18 16:01:27 Re: Regaining superuser access

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-09-18 18:04:03 Re: New FSM patch
Previous Message Tom Lane 2008-09-18 16:44:24 Re: Do we really need a 7.4.22 release now?