pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: tsuraan <tsuraan@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15467: The database subdirectory "pg_tblspc/1932420460/PG_10_201707211/16400" is missing.
Date: Tue, 30 Oct 2018 23:23:43 +0000
Message-ID: <875zxj6my1.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CALKcMwKE4ssO_14vrHW3HvsJE79FNV=o9Ln_t2AHG-mUyWSeZg@mail.gmail.com>
References: <15467-0a44b33ef5460f27@postgresql.org>
	<87a7mv7fbi.fsf@news-spur.riddles.org.uk>
	<CALKcMwKE4ssO_14vrHW3HvsJE79FNV=o9Ln_t2AHG-mUyWSeZg@mail.gmail.com>

>>>>> "tsuraan" == tsuraan  <tsuraan@gmail.com> 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)




view thread (8+ messages)  latest in thread

Message-ID: <875zxj6my1.fsf@news-spur.riddles.org.uk>
Permalink:  ../875zxj6my1.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/875zxj6my1.fsf@news-spur.riddles.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, tsuraan@gmail.com
  Subject: Re: BUG #15467: The database subdirectory "pg_tblspc/1932420460/PG_10_201707211/16400" is missing.
  In-Reply-To: <875zxj6my1.fsf@news-spur.riddles.org.uk>
  References: <15467-0a44b33ef5460f27@postgresql.org> <87a7mv7fbi.fsf@news-spur.riddles.org.uk> <CALKcMwKE4ssO_14vrHW3HvsJE79FNV=o9Ln_t2AHG-mUyWSeZg@mail.gmail.com> <875zxj6my1.fsf@news-spur.riddles.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox