From: Tom Lane <tgl@sss.pgh.pa.us>
To: Evan Walter <ewalter@decisionanalyst.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: getting a error message when creating temporary table
Date: Mon, 28 Apr 2014 22:45:13 -0400
Message-ID: <2028.1398739513@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOHVLOE6xcFA0hibHxBFO+etiJx6i=otM23O+5V0Z8VuC+Pk8A@mail.gmail.com>
References: <CAOHVLOGC9tsVzZE4UsbLapKfTcrKrosEuCfB_MQeQ3mw270ZSg@mail.gmail.com>
<29685.1398725309@sss.pgh.pa.us>
<CAOHVLOE6xcFA0hibHxBFO+etiJx6i=otM23O+5V0Z8VuC+Pk8A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Evan Walter <ewalter@decisionanalyst.com> writes:
> Thanks for the replies, sorry for not giving more details/background.
> The directory is global/26745
OK, so try
select relname from pg_class where relisshared and pg_relation_filenode(oid) = 26745;
That should tell you which table or index is busted.
> It is version 9.1.9
> os is ubuntu on an Amazon ec2 server
Um. AWS is, AFAIK, pretty much guaranteed to lose your data eventually.
It's a great compute service if you can afford to have nodes fail now
and then ... but probably not the best substrate for a database. If
you have to use it for that, you *must* have good backup and replication
strategies in place.
regards, tom lane
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, ewalter@decisionanalyst.com
Subject: Re: getting a error message when creating temporary table
In-Reply-To: <2028.1398739513@sss.pgh.pa.us>
* 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