Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-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

pgsql-hackers by date

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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group