Re: ERROR: could not open file "pg_tblspc

From: Daulat <daulat(dot)dba(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: ERROR: could not open file "pg_tblspc
Date: 2021-12-15 11:58:23
Message-ID: CALfOM6JbA1rVptN9pgV2O2jej==O5hdXHATxHVuNOjY1+phmaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thanks a lot. It is working after rebuilding the index.

On Wed, Dec 15, 2021 at 1:57 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
wrote:

> On Tue, 2021-12-14 at 23:12 +0530, Daulat wrote:
> > Will it work if we rebuild that index ? Looks like it is an issue with
> the index.
> >
> > On Tue, Dec 14, 2021 at 10:55 PM Daulat <daulat(dot)dba(at)gmail(dot)com> wrote:
> > > Sorry I missed it !
> > >
> > > The output of query is
> > >
> > > SELECT oid::regclass, relkind FROM pg_class WHERE relfilenode = 876783;
> > > oid | relkind
> > > ----------------------------+---------
> > > grc.masterdata_code_unique | i
>
> Yes, the index file is missing. If you are lucky, REINDEX INDEX will help.
>
> You should figure out who or what goes around deleting files in your
> data directory.
>
> Yours,
> Laurenz Albe
> --
> Cybertec | https://www.cybertec-postgresql.com
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2021-12-15 12:49:33 Re: [EXTERNAL] Re: Limits user connection in pgbouncer
Previous Message Daulat 2021-12-15 11:56:54 Re: [EXTERNAL] Re: Limits user connection in pgbouncer