X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 711AD9FA195 for ; Wed, 3 May 2006 17:30:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 47540-09 for ; Wed, 3 May 2006 17:29:36 -0300 (ADT) X-Greylist: delayed 00:26:14.96795 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id D9AEA9FB1C7 for ; Wed, 3 May 2006 17:29:20 -0300 (ADT) Received: from main.rtv5.cz (r-rtv5-breclav.czechbone.net [212.96.178.50]) by svr4.postgresql.org (Postfix) with ESMTP id 66DEC5B6201 for ; Wed, 3 May 2006 20:03:02 +0000 (GMT) Received: from v82.bvx.cz (v82.bvx.cz [212.96.165.82]) by main.rtv5.cz (8.12.5/8.12.5/Debian-1) with ESMTP id k43K88EY011891 for ; Wed, 3 May 2006 22:08:08 +0200 From: MIlos Prudek To: pgsql-admin@postgresql.org Subject: missing chunk number 0 for toast value ... Date: Wed, 3 May 2006 22:02:57 +0200 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605032202.57825.prudek@bvx.cz> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/30 X-Sequence-Number: 21562 Hello postgres wizards :-) I have a problem with table info: select * from info; ERROR: missing chunk number 0 for toast value 190937 Dumping does not work either: pg_dump db >db.unl pg_dump: ERROR: missing chunk number 0 for toast value 190937 pg_dump: lost synchronization with server, resetting connection pg_dump: SQL command to dump the contents of table "info" failed: PQendcopy() failed. pg_dump: Error message from server: pg_dump: The command was: COPY public.info (idsection, idinfo, txt) TO stdout; I googled, and using advice in an archived post I run the following command: select relname from pg_class where oid = (select reltoastrelid from pg_class where relname = 'info'); which resulted in one row with value pg_toast_61934 and then I ran reindex table pg_toast.pg_toast_61934; but it did not help. What should I do to salvage the table? -- Milos Prudek