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 1gHTmJ-0001H4-L0 for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Oct 2018 13:09:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHTmH-00011i-RH for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Oct 2018 13:09:49 +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 1gHTmH-00011b-LC for pgsql-bugs@lists.postgresql.org; Tue, 30 Oct 2018 13:09:49 +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 1gHTmB-0006P5-GM for pgsql-bugs@lists.postgresql.org; Tue, 30 Oct 2018 13:09:49 +0000 Received: from [192.168.127.1] (port=23716 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 1gHTm9-000D1z-CP; Tue, 30 Oct 2018 13:09:41 +0000 Received: from [127.0.0.1] (port=54348 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gHTm8-000NWu-M9; Tue, 30 Oct 2018 13:09:40 +0000 From: Andrew Gierth To: 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. In-Reply-To: <15467-0a44b33ef5460f27@postgresql.org> (PG Bug reporting form's message of "Mon, 29 Oct 2018 22:33:00 +0000") Message-ID: <87a7mv7fbi.fsf@news-spur.riddles.org.uk> References: <15467-0a44b33ef5460f27@postgresql.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Tue, 30 Oct 2018 13:09:40 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "PG" == PG Bug reporting form writes: PG> I have a system running on AWS that had been processing data without any PG> apparent issues, when the main database apparently just stopped existing. PG> The postgres logs (considerably snipped) look like this: PG> ... PG> [2018-10-29 15:51:30 UTC]STATEMENT: INSERT INTO ... RETURNING inserted PG> [2018-10-29 15:52:05 UTC]FATAL: database "db" does not exist PG> [2018-10-29 15:52:05 UTC]DETAIL: The database subdirectory PG> "pg_tblspc/1932420460/PG_10_201707211/16400" is missing. What is in the pg_database row (especially the dattablespace column) for that database? -- Andrew (irc:RhodiumToad)