Re: [PATCHES] About the structure of WAL Files.

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Charlie Wang <wangbaobing(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org, Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
Subject: Re: [PATCHES] About the structure of WAL Files.
Date: 2006-03-15 13:12:58
Message-ID: 20060315131258.GA5222@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Charlie Wang wrote:
> I want to write a function to expose the content of WAL Files as streams,
> and then send to somewhere else, record by record.

This is not a patch -- please do not write to the pgsql-patches list.
Thanks.

Re: the WAL records, most likely they are useless outside the server
that generated them, because they refer to relations using Oids, and to
specific page addresses which are probably not going to be exactly the
same anywhere else (consider VACUUM commands running at different
times).

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-03-15 13:43:36 Re: [PATCHES] About the structure of WAL Files.
Previous Message Rodrigo Hjort 2006-03-15 12:36:45 Re: Restoring a Full Cluster on a Different Architecture (32 x 64)

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2006-03-15 13:43:36 Re: [PATCHES] About the structure of WAL Files.
Previous Message Charlie Wang 2006-03-15 05:53:23 About the structure of WAL Files.