Re: I slipped up so that no existing role allows connection. Is rescue possible?

From: Bryn Llewellyn <bryn(at)yugabyte(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Tom Lane PostgreSQL <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>, david(dot)g(dot)johnston(at)gmail(dot)com
Subject: Re: I slipped up so that no existing role allows connection. Is rescue possible?
Date: 2022-09-20 01:13:40
Message-ID: BB05CD1C-0601-40B4-95B1-F598C139D599@yugabyte.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> adrian(dot)klaver(at)aklaver(dot)com wrote:
>
>> bryn(at)yugabyte(dot)com wrote:
>>
>>> tgl(at)sss(dot)pgh(dot)pa(dot)us wrote:
>>>
>>> ...
>>
>> So nice to find this waiting for me when I got back to the keyboard after a late lunch. Thanks, Tom. And thanks to David, too who said much the same. I'll note how I spelled the magic—as a little memo for me:
>>
>> postgres --single -D /usr/local/var/postgres postgres
>>
>> The world that the "backend> " prompt opened up for me was rather basic.
>
> Which is documented here:
>
> www.postgresql.org/docs/current/app-postgres.html#APP-POSTGRES-SINGLE-USER

Yes, after Tom's hint, a search for "single-user" took me to that page. But, beginner as I am, I didn't know that single-user mode was the thing that I needed. I need a remedial class. Something like "PostgreSQL for those whose mental model has been conditioned by decades of working with Oracle Database".

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2022-09-20 08:48:53 Aw: Re: I slipped up so that no existing role allows connection. Is rescue possible?
Previous Message misha1966 misha1966 2022-09-20 00:31:02 Re[4]: CVE-2022-2625