Received: from pooh.ficnet.net (pooh.ficnet.net [202.145.137.34]) by hub.org (8.9.3/8.9.3) with ESMTP id CAA97068 for ; Sun, 20 Feb 2000 02:42:53 -0500 (EST) (envelope-from mikema@ficnet.net) Received: from ficnet.net (IDENT:michael@as5po53.ht.ficnet.net.tw [202.145.67.53]) by pooh.ficnet.net (8.9.3/8.9.3) with ESMTP id PAA03395 for ; Sun, 20 Feb 2000 15:42:41 +0800 (CST) Sender: michael@ficnet.net Message-ID: <38AF9C7F.5263EC76@ficnet.net> Date: Sun, 20 Feb 2000 15:49:19 +0800 From: Michael Ma X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-22 i586) X-Accept-Language: zh-TW, en MIME-Version: 1.0 To: pgsql-admin Subject: Re: [ADMIN] Can NOT dump db with 6.4.2's pg_dumpall References: <183FA749499ED311B6550000F87E206C04E1E7@SRV> Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Hi, Matthew I have tried to dump tables one by one to identify the table contains bad value. However I got the following error messages from each dump. .......... SET TRANSACTION command failed. Explanation from backend: 'ERROR: parser: parse error at or near "transaction"'. .......... May I know how you manage to locate the bad value? Or, are there other ways (may be more complicated) to dump a table/db? Thanks Michael =================== Matthew wrote: > > I'm not sure if this will help but I just dealt with a similar problem. > When I tried to do a pg_dump it would fail. It turned out the culpret > was one single bad value in one row of one table. Any query that > returned that value would fail also, so I had to go through an > interitive process of select statements to identify the offending row. > Once I found it, I was able to delete the row, and everything worked > again. > > Hope that helps, it was a bear of a problem for me.