From: | "Dan Langille" <dan(at)langille(dot)org> |
---|---|
To: | "hedy Xu" <hedy(at)vocalscape(dot)com> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: A pg_dump error. |
Date: | 2001-01-15 06:10:16 |
Message-ID: | 200101150610.TAA51286@ducky.nz.freebsd.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12 Jan 2001, at 10:51, hedy Xu wrote:
> We are using the postgres7 against Linux. We got a pg_dump error when tired
> to backup a database using pg_dump. The error message is PQgetvalue: ERROR!
> tuple number 0 is out of range 0..-1 Segmentation fault. We could dump this
> database when it was created. Our database server cant be shut down after
> it goes to live, so we cant use file system backup. Please help me resolve
> this problem.
I had this problem yesterday. Before attempting the dump, I had
renamed several tables and created new ones in their place. Then
copied from the renamed tables to the new tables. Then I tried the
dump, which failed. Then I removed the renamed tables. Then the dump
worked.
Hope that helps.
--
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/
FreshPorts - http://freshports.org/
NZ Broadband - http://unixathome.org/broadband/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-01-15 07:32:17 | Re: createdb fails in 7.0.2 |
Previous Message | Tom Lane | 2001-01-15 06:04:46 | Re: Backend doesn't like this query... |