Re: intercepting WAL writes - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: intercepting WAL writes
Date
Msg-id 36e682920805281743g1a010551va0cbea1a7258c852@mail.gmail.com
Whole thread Raw
In response to intercepting WAL writes  ("Mike" <mike@fonolo.com>)
Responses Re: intercepting WAL writes  ("Mike" <mike@fonolo.com>)
Re: intercepting WAL writes  ("Mike" <mike@fonolo.com>)
List pgsql-hackers
On Wed, May 28, 2008 at 8:30 PM, Mike <mike@fonolo.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.harris@enterprisedb.com
Edison, NJ 08837 | http://www.enterprisedb.com/


pgsql-hackers by date:

Previous
From: Darren Reed
Date:
Subject: Catching exceptions from COPY
Next
From: Greg Smith
Date:
Subject: Re: Catching exceptions from COPY