From: Scott Marlowe <scott.marlowe@gmail.com>
To: Bernt Drange <badrange@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Regaining superuser access
Date: Fri, 19 Sep 2008 08:39:14 -0600
Message-ID: <dcc563d10809190739w5c32a2e0j8ba07b59b8afbd87@mail.gmail.com> (raw)
In-Reply-To: <66fbdb9b-7a01-42c5-896c-0c5ffbe2f4fb@79g2000hsk.googlegroups.com>
References: <355ba921-203b-4380-bee4-67209316be62@x35g2000hsb.googlegroups.com>
<497334.45125.qm@web25803.mail.ukl.yahoo.com>
<aaad999b-500f-4c13-a738-0a35bd443b23@m73g2000hsh.googlegroups.com>
<20080918170326.GH3868@alvh.no-ip.org>
<66fbdb9b-7a01-42c5-896c-0c5ffbe2f4fb@79g2000hsk.googlegroups.com>
On Fri, Sep 19, 2008 at 2:26 AM, Bernt Drange <badrange@gmail.com> wrote:
> On Sep 18, 7:03 pm, alvhe...@commandprompt.com (Alvaro Herrera) wrote:
>> 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?
>
> From memory the path was something like: F:\Postgresql Database\data.
> I quoted it with double quotes. Without -D postgres.exe complained
> about not finding the data path, with it postgres.exe complained about
> not finding the config file, stating that it looked in (from memory
> vague) F:\Postgresql Database\data\postgres\somethingmore. Adding the
> --config-file parameter didn't help.
>
> Is this enough information for you to start digging a bit more? If
> not, I might find the exact messages, but I'm reluctant to do it on
> this production database..
I'm pretty sure the problem is with the space between Postgresql and
Database. Not sure if it's fixed in later releases or not.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, badrange@gmail.com
Subject: Re: Regaining superuser access
In-Reply-To: <dcc563d10809190739w5c32a2e0j8ba07b59b8afbd87@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox