Re: I slipped up so that no existing role allows connection. Is rescue possible? - Mailing list pgsql-general

From Bryn Llewellyn
Subject Re: I slipped up so that no existing role allows connection. Is rescue possible?
Date
Msg-id BB05CD1C-0601-40B4-95B1-F598C139D599@yugabyte.com
Whole thread Raw
In response to Re: I slipped up so that no existing role allows connection. Is rescue possible?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Aw: Re: I slipped up so that no existing role allows connection. Is rescue possible?
List pgsql-general
> adrian.klaver@aklaver.com wrote:
>
>> bryn@yugabyte.com wrote:
>>
>>> tgl@sss.pgh.pa.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-usermode was the thing that I needed. I need a remedial class. Something like "PostgreSQL for those whose mental
modelhas been conditioned by decades of working with Oracle Database". 


pgsql-general by date:

Previous
From: misha1966 misha1966
Date:
Subject: Re[4]: CVE-2022-2625
Next
From: Karsten Hilbert
Date:
Subject: Aw: Re: I slipped up so that no existing role allows connection. Is rescue possible?