Re: pg_dump failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Milan Krajnak <milan_krajnak(at)abilitydev(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump failed
Date: 2003-12-12 15:39:48
Message-ID: 19917.1071243588@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Milan Krajnak <milan_krajnak(at)abilitydev(dot)com> writes:
> psql# \d
> getTables(): SELECT failed. Explanation from backend: 'pqReadData() --
> backend
> closed the channel unexpectedly.

Standard questions: what shows up in the postmaster's log (stderr or
syslog depending on your setup) when this happens? Is there a core
file dropped in the database subdirectory ($PGDATA/base/something/)?
If so, please get a debugger backtrace from it.

I get the impression that there may be corrupt data in your pg_class
file --- can you do "select * from pg_class" without a crash?
How about pg_user and pg_rewrite?

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message scott.marlowe 2003-12-12 15:48:14 Re: ODBC Driver generates a too big "windows swap file" and
Previous Message Greg Spiegelberg 2003-12-12 15:05:08 Reindex database