Re: Help using pgfsck - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Help using pgfsck
Date
Msg-id 20030414235210.GA11934@svana.org
Whole thread Raw
In response to Help using pgfsck  ("Vilson farias" <vilson.farias@digitro.com.br>)
List pgsql-general
On Mon, Apr 14, 2003 at 06:34:33PM -0300, Vilson farias wrote:
> Greetings,
>
>   I've been trying to use pgfsck since my PostgreSQL database was raising a
> "Memory exhausted in
> AllocSetAlloc" but it seems pgfsck is reading my datetimes in a wrong way,
> so I can't export data to recover my database.

Yeah, sorry about that. I couldn't work out how datetimes and timestamps
were stored in the file so I never got round to adding them. As you can see
they look about 5 bytes in width. If you can work it out there is a section
near the front of the program that does the data type conversions. Add it
there and it should dump properly.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> "the West won the world not by the superiority of its ideas or values or
> religion but rather by its superiority in applying organized violence.
> Westerners often forget this fact, non-Westerners never do."
>   - Samuel P. Huntington

Attachment

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Are we losing momentum?
Next
From: Bruce Momjian
Date:
Subject: Re: Why no performance boost although I added an index?