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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: I slipped up so that no existing role allows connection. Is rescue possible?
Дата
Msg-id 537913.1663625738@sss.pgh.pa.us
обсуждение исходный текст
Ответ на I slipped up so that no existing role allows connection. Is rescue possible?  (Bryn Llewellyn <bryn@yugabyte.com>)
Ответы Re: I slipped up so that no existing role allows connection. Is rescue possible?  (Bryn Llewellyn <bryn@yugabyte.com>)
Re: I slipped up so that no existing role allows connection. Is rescue possible?  (Mladen Gogala <gogala.mladen@gmail.com>)
Список pgsql-general
Bryn Llewellyn <bryn@yugabyte.com> writes:
> Is rescue possible? Or must I simply remove my cluster and use "pg_ctl" to create a new one within my existing PG
14.5software env? 

Stop the cluster, start a single-user session ("postgres --single"),
re-grant superuser to the postgres user and/or whatever else you
wish you could take back, end that session, restart the cluster.

(You're not the first to mess up like this.)

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Bryn Llewellyn
Дата:
Сообщение: I slipped up so that no existing role allows connection. Is rescue possible?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: I slipped up so that no existing role allows connection. Is rescue possible?