pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adam Witney <awitney@sgul.ac.uk>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: pg_dump error
Date: Wed, 07 Sep 2005 11:56:30 -0400
Message-ID: <27759.1126108590@sss.pgh.pa.us> (raw)
In-Reply-To: <BF44C876.4C724%awitney@sgul.ac.uk>
References: <BF44C876.4C724%awitney@sgul.ac.uk>

Adam Witney <awitney@sgul.ac.uk> writes:
> Got that now.... Sorry but I am being dim... But where do I find the file to
> dump.. You want the index on pg_toast_134401982 right?

Right (if that's the toast table you identified for the problem table).
It's probably named pg_toast_134401982_index.  Look at its pg_class
entry to find its relfilenode number, and find the OID of the database
from pg_database, and then the file should be
$PGDATA/base/DBOID/RELFILENODE.  For more info see
http://www.postgresql.org/docs/8.0/static/storage.html
(which is for 8.0, but everything except the remarks about tablespaces
applies to 7.4).

			regards, tom lane



view thread (40+ messages)  latest in thread

Message-ID: <27759.1126108590@sss.pgh.pa.us>
Permalink:  ../27759.1126108590@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27759.1126108590@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, awitney@sgul.ac.uk
  Subject: Re: pg_dump error
  In-Reply-To: <27759.1126108590@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