Re: [HACKERS] Question about convert the binary WAL file

2005-07-14 Thread Alvaro Herrera
On Thu, Jul 14, 2005 at 03:31:06PM +0900, clipper tokyo wrote: > > Hi, All > > I am new to devolopment of code, so maybe the question is quit simple. > > I am trying to write a tools to convert a binary WAL file to a text file. I think you could start by looking at Tom Lane's xlogdump. It's in

[HACKERS] Question about convert the binary WAL file

2005-07-14 Thread clipper tokyo
Hi, All I am new to devolopment of code, so maybe the question is quit simple. I am trying to write a tools to convert a binary WAL file to a text file. I want to use ReadRecord to get the record from the file and use RmgrTable[record->xl_rmid].rm_desc to interpreter the content. But the problem i