Re: Why dos select work when pg_dump fails?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Darren Reed <darrenr+postgres(at)fastmail(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Why dos select work when pg_dump fails?
Date: 2007-11-29 15:20:56
Message-ID: 13498.1196349656@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Darren Reed <darrenr+postgres(at)fastmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2007-11-29 17:18:08 Re: Enable Syslog on Postgres
Previous Message Jeff Larsen 2007-11-29 14:46:40 Re: Enable Syslog on Postgres