Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHdMb-0003XE-OS for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Oct 2018 23:23:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHdMZ-0004Sz-3Z for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Oct 2018 23:23:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHdMY-0004SG-Tn for pgsql-bugs@lists.postgresql.org; Tue, 30 Oct 2018 23:23:54 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHdMS-0006NG-K5 for pgsql-bugs@lists.postgresql.org; Tue, 30 Oct 2018 23:23:54 +0000 Received: from [192.168.127.1] (port=19430 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1gHdMP-000DyJ-Au; Tue, 30 Oct 2018 23:23:45 +0000 Received: from [127.0.0.1] (port=32229 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gHdMO-0000F9-JU; Tue, 30 Oct 2018 23:23:44 +0000 From: Andrew Gierth To: tsuraan Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15467: The database subdirectory "pg_tblspc/1932420460/PG_10_201707211/16400" is missing. In-Reply-To: (tsuraan@gmail.com's message of "Tue, 30 Oct 2018 08:26:10 -0500") Message-ID: <875zxj6my1.fsf@news-spur.riddles.org.uk> References: <15467-0a44b33ef5460f27@postgresql.org> <87a7mv7fbi.fsf@news-spur.riddles.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Tue, 30 Oct 2018 23:23:43 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "tsuraan" == tsuraan writes: >> What is in the pg_database row (especially the dattablespace column) for >> that database? tsuraan> Well, that can't be good: tsuraan> psql (10.1) tsuraan> Type "help" for help. tsuraan> root=# select * from pg_database; tsuraan> ERROR: cache lookup failed for type 0 tsuraan> I get that both on the original system (running 10.1) and on tsuraan> my up-to-date system that's running 10.5. Does that error persist if you delete all files named pg_internal.init in the data dir? (those files are a cache of the system tables and are regenerated on the next new connection if they are missing) -- Andrew (irc:RhodiumToad)