Re: Not able to connect specific database - Mailing list pgsql-admin

From Rajesh Kumar
Subject Re: Not able to connect specific database
Date
Msg-id CAJk5Atbkb+Kn8BKxD93Tg5Co0NQ4BhT0K0UWBcs_mBr-ZQQxsw@mail.gmail.com
Whole thread Raw
In response to Re: Not able to connect specific database  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: Not able to connect specific database
List pgsql-admin
Postgres 15

On Mon, 6 Nov 2023, 03:04 Jeff Janes, <jeff.janes@gmail.com> wrote:
You have some kind of corruption.  You didn't tell us what version you are using.  For me, that file being missing just causes FATAL, not PANIC.  I don't know why it would be different for you.

If you shutdown the database and then start it back up with the -P option to 'postgres' of "-o -P" for 'pg_ctl', then you should be able to connect to the database and do a REINDEX SYSTEM.  This should fix the problem.  Then you can shut it down and start it up again without the special option.  

However, once you have some kind of corruption there is no telling how much other corruption you also have.  Why would just this one file happen to be missing?

Cheers,

Jeff

pgsql-admin by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Not able to connect specific database
Next
From: Rajesh Kumar
Date:
Subject: Re: Not able to connect specific database