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

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Bryn Llewellyn <bryn(at)yugabyte(dot)com>, Tom Lane PostgreSQL <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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 00:02:19
Message-ID: 26bb437e-87cf-fe7d-fe7e-637950edd2ec@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/19/22 16:15, Bryn Llewellyn wrote:
> //
>> /tgl(at)sss(dot)pgh(dot)pa(dot)us <mailto: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:

https://www.postgresql.org/docs/current/app-postgres.html#APP-POSTGRES-SINGLE-USER

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message misha1966 misha1966 2022-09-20 00:31:02 Re[4]: CVE-2022-2625
Previous Message Tom Lane 2022-09-19 23:28:42 Re: GIST combo index condition chosen for users queries is different from table owner's query