Re: "PANIC: could not open critical system index 2662" - twice

Поиск
Список
Период
Сортировка
От Evgeny Morozov
Тема Re: "PANIC: could not open critical system index 2662" - twice
Дата
Msg-id 01020187eb2ebb95-bce9827e-141b-4f45-865c-3edc61e3d830-000000@eu-west-1.amazonses.com
обсуждение исходный текст
Ответ на Re: "PANIC: could not open critical system index 2662" - twice  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-general
On 5/05/2023 10:38 am, Andrew Gierth wrote:
sudo -u postgres psql -w -p 5434 -d "options='-P'"
(make that -d "dbname=whatever options='-P'"  if you need to specify
some database name; or use PGOPTIONS="-P" in the environment.)

Thanks, good to know! Unfortunately that also fails:

# sudo -u postgres psql -w -p 5434 -d "dbname=test_behavior_638186279733138190 options='-P'"
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5434" failed: FATAL:  could not open relation with OID 2964

(PG server log contains the same error message and no further details.)

select 2964::regclass returns "pg_db_role_setting" FWIW.

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: connecting to localhost -> ::1 client_addr ?
Следующее
От: jian he
Дата:
Сообщение: customized function to Reconstructs the creating command for a role.