X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9A244D1B48F for ; Fri, 12 Dec 2003 15:40:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 41809-04 for ; Fri, 12 Dec 2003 11:39:52 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 6BE4AD1DFC9 for ; Fri, 12 Dec 2003 11:39:47 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hBCFdn19019918; Fri, 12 Dec 2003 10:39:49 -0500 (EST) To: Milan Krajnak Cc: pgsql-admin@postgresql.org Subject: Re: pg_dump failed In-reply-to: <3FD98F2E.7070309@abilitydev.com> References: <3FD98F2E.7070309@abilitydev.com> Comments: In-reply-to Milan Krajnak message dated "Fri, 12 Dec 2003 10:49:34 +0100" Date: Fri, 12 Dec 2003 10:39:48 -0500 Message-ID: <19917.1071243588@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/168 X-Sequence-Number: 11676 Milan Krajnak 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