Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxPdg-000451-KD for pgsql-admin@arkaria.postgresql.org; Wed, 15 Dec 2021 08:27:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mxPdf-0001NR-C3 for pgsql-admin@arkaria.postgresql.org; Wed, 15 Dec 2021 08:27:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxPde-0001NI-U1 for pgsql-admin@lists.postgresql.org; Wed, 15 Dec 2021 08:27:51 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mxPdb-0007bu-Hs for pgsql-admin@lists.postgresql.org; Wed, 15 Dec 2021 08:27:49 +0000 Received: by mail-wr1-x42c.google.com with SMTP id c4so36735264wrd.9 for ; Wed, 15 Dec 2021 00:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=hA0L3FMS1EyJy/qXVylZCmNY7qFF9B2ciYWs8LPXl18=; b=1JRe6uztrxMix5BHiVVe7r71AdHKGEWiVNEacj/2HNvHTEmfX930afZkhO75ijW92N wba/nSd2q8TjTAqqGI6p7iI7q3cgptc010FqCwPqL6WYlM0x6Tc/SFJ63D2t15hvSSbF yvN3CueSJ4eY96VVQFHEhQByReYCVnTG3o9Ck/hUWqRR++hTIqPDvB0PExk/6JI1D9MH RcMhsOLcyZN9P3KFhKTz6uFL492wxpCsvJXJj54iaKLBdpVzKUjF92YcbixkledenbYB mxCnAzmGsi9hfAmD/yHHPxgdDPe4c1Nc9fudg7ANP8/LREHdSuiIrdQ+cymkIXpaw1+N tF5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=hA0L3FMS1EyJy/qXVylZCmNY7qFF9B2ciYWs8LPXl18=; b=MMCBwYfvJ6Ur9ipfxLpcjO7+/AagMaOAGKycKr/n6vnMrnza6GJBYaVWWd7VNCrCLb 4XruFnARbftipGZx8NgyeEtevV6YUlhGDE/bQZK53H04h7Liuh70klA3/dChqvJ1z6ps qhI+62npV7xZ0tLo6hTeD0QflWSES3k4D/6iVJi81s6vy6eZGjexpbIfcmYxZ1yJZzV5 pKOFkFGQSwXCgmKx++g95KaTYu1/J3rXn+nH/FkSnFG41gnWeO2085j2psj8HRKwC9fj p/A3dgqVm6kqXDbskRrbFzwpOc1kXbrHRsPtOViP/8J7+g6S4Ww25dgj+1xbbUmeSX9w Nv7g== X-Gm-Message-State: AOAM531zBnju/9NP46SEYFRqba3t8D7EOPXSl49/4t7wmzhE5F3msDRV +474jdtmjy5iwjFQDGorU43XUg== X-Google-Smtp-Source: ABdhPJxg+pP9iON8/0iBaKDU/lf31pR0Nxrf+rbJcpREQjtRqM/KW6lPBYOczx3FDzpK+8K9T7XIZg== X-Received: by 2002:a5d:4e90:: with SMTP id e16mr1031477wru.402.1639556864776; Wed, 15 Dec 2021 00:27:44 -0800 (PST) Received: from localhost.localdomain (178-190-173-200.adsl.highway.telekom.at. [178.190.173.200]) by smtp.gmail.com with ESMTPSA id w17sm1234581wrp.79.2021.12.15.00.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Dec 2021 00:27:44 -0800 (PST) Message-ID: <28049bf6e24b9138f1484ce5716c692b19845ceb.camel@cybertec.at> Subject: Re: ERROR: could not open file "pg_tblspc From: Laurenz Albe To: Daulat , pgsql-admin Date: Wed, 15 Dec 2021 09:27:43 +0100 In-Reply-To: References: <5f137253b6b055b7f2ae5b02ebf67f0ea5419cde.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-2.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 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