Re: single user mode -P option is ignored

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: single user mode -P option is ignored
Date: 2018-12-19 18:01:30
Message-ID: 31792.1545242490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> st 19. 12. 2018 v 17:59 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:
>> So either this is something we fixed since 9.5.5, or your summary
>> of the problem is missing many critical details.

> I got different error message "could not open critical system index". I
> checked files, and related files was there.

Hmm ... looking at the relcache code, it appears that could only happen
if the pg_class entry for that index couldn't be found. Which probably
means you've suffered catastrophic damage to pg_class --- there's no
good reason to assume that only that one row has been clobbered.
Reindexing isn't going to get you out of that :-(

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Massimo Fidanza 2018-12-19 18:02:07 Re: GraalVM
Previous Message Pavel Stehule 2018-12-19 17:18:18 Re: single user mode -P option is ignored