Re: emergency outage requiring database restart

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: emergency outage requiring database restart
Date: 2016-10-17 19:04:03
Message-ID: 20161017190403.q7yqggxzni4hf2ac@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Merlin Moncure wrote:

> castaging=# CREATE OR REPLACE VIEW vw_ApartmentSample AS
> castaging-# SELECT ...
> ERROR: 42809: "pg_cast_oid_index" is an index
> LINE 11: FROM ApartmentSample s
> ^
> LOCATION: heap_openrv_extended, heapam.c:1304
>
> should I be restoring from backups?

It's pretty clear to me that you've got catalog corruption here. You
can try to fix things manually as they emerge, but that sounds like a
fool's errand.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2016-10-17 19:16:02 Re: emergency outage requiring database restart
Previous Message Merlin Moncure 2016-10-17 18:46:48 Re: emergency outage requiring database restart