Re: intercepting WAL writes

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: Mike <mike(at)fonolo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: intercepting WAL writes
Date: 2008-05-29 00:43:05
Message-ID: 36e682920805281743g1a010551va0cbea1a7258c852@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 28, 2008 at 8:30 PM, Mike <mike(at)fonolo(dot)com> wrote:
> When you say a bit of decoding, is that because the data written to the logs
> is after the query parser/planner? Or because it's written in several
> chunks? Or?

Because that's the actual recovery record. There is no SQL text, just
the WAL record type (XLOG_HEAP_INSERT, XLOG_HEAP_UPDATE,
XLOG_XACT_COMMIT, ...) and the data as it relates to that operation.

--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah(dot)harris(at)enterprisedb(dot)com
Edison, NJ 08837 | http://www.enterprisedb.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas H. 2008-05-29 00:50:50 Re: BUG #4186: set lc_messages does not work
Previous Message Darren Reed 2008-05-29 00:32:34 Catching exceptions from COPY