pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Darren Reed <darrenr+postgres@fastmail.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Why dos select work when pg_dump fails?
Date: Thu, 29 Nov 2007 10:20:56 -0500
Message-ID: <13498.1196349656@sss.pgh.pa.us> (raw)
In-Reply-To: <474E7327.1010805@fastmail.net>
References: <474E7327.1010805@fastmail.net>

Darren Reed <darrenr+postgres@fastmail.net> writes:
> For whatever reason, I'm back dealing with corrupted tables but
> curiously while this fails:

> pg_dump -U postgres -a -t table -f /data/table.dump

> this works:

> psql -U postgres -A -o /data/table.dump -c "SELECT * FROM table;"

pg_dump is evidently failing while trying to get the definitions
of that table's indexes.  Does "\d table" work?

			regards, tom lane



view thread (2+ messages)

Message-ID: <13498.1196349656@sss.pgh.pa.us>
Permalink:  ../13498.1196349656@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13498.1196349656@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, darrenr+postgres@fastmail.net
  Subject: Re: Why dos select work when pg_dump fails?
  In-Reply-To: <13498.1196349656@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