Question about convert the binary WAL file

From: clipper tokyo <clippertokyo(at)yahoo(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Question about convert the binary WAL file
Date: 2005-07-14 06:31:06
Message-ID: 20050714063106.66741.qmail@web3103.mail.bbt.yahoo.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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 is that both of them are local functions and I can not use them directly, should I rewrite a copy of the functions?

BTW. how to use the extern definition in the header file, for my program is put into the contrib folder, and when I try to use some extern definition in the xlog.h, the compiler alway complain it can not find the objects.

Thanks a lot
Clipper

---------------------------------
Save the earth

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2005-07-14 08:48:32 Re: [Bizgres-general] A Guide to Constraint Exclusion
Previous Message Neil Conway 2005-07-14 04:41:13 Re: Toward pg_upgrade