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: Wed, 31 Oct 2018 15:53:25 +0000
Message-ID: <871s866rvi.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CALKcMwLFvyAC6C6TAai9OQf3npNu1HAw9SPjs=6YYZHyT54FHA@mail.gmail.com>
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>
	<CALKcMwLFvyAC6C6TAai9OQf3npNu1HAw9SPjs=6YYZHyT54FHA@mail.gmail.com>

>>>>> "tsuraan" == tsuraan  <tsuraan@gmail.com> writes:

 tsuraan> Starting up postgres again and querying pg_database still
 tsuraan> gives the same cache lookup error.

Do you still get the error from just

select oid from pg_database;

or

select oid,dattablespace from pg_database;

?

 tsuraan> Another person noticed that the missing directory
 tsuraan> (pg_tblspc/1932420460/PG_10_201707211/16400)

I just noticed: 1932420460 = 0x732E656C = "le.s" which is suspiciously
textual.

Any chance you can do this query:

select pg_relation_filepath('pg_database'::regclass);

and then do  hexdump -C  on that file?

-- 
Andrew (irc:RhodiumToad)




view thread (8+ messages)  latest in thread

Message-ID: <871s866rvi.fsf@news-spur.riddles.org.uk>
Permalink:  ../871s866rvi.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/871s866rvi.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: <871s866rvi.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> <CALKcMwLFvyAC6C6TAai9OQf3npNu1HAw9SPjs=6YYZHyT54FHA@mail.gmail.com> <871s866rvi.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