From: Michael Ma <mikema@ficnet.net>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: [ADMIN] Can NOT dump db with 6.4.2's pg_dumpall
Date: Sun, 20 Feb 2000 15:49:19 +0800
Message-ID: <38AF9C7F.5263EC76@ficnet.net> (raw)
References: <183FA749499ED311B6550000F87E206C04E1E7@SRV>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mikema@ficnet.net
Subject: Re: [ADMIN] Can NOT dump db with 6.4.2's pg_dumpall
In-Reply-To: <38AF9C7F.5263EC76@ficnet.net>
References: <183FA749499ED311B6550000F87E206C04E1E7@SRV> <38AF9C7F.5263EC76@ficnet.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox