Skip site navigation (1) Skip section navigation (2)

How to generate specific WAL records?

From: Koichi Suzuki <koichi(dot)szk(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: How to generate specific WAL records?
Date: 2010-04-13 11:18:28
Message-ID: z2wa778a7261004130418y4c063a8v7dc8523110678c50@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

Does anyone know how to generate the following WAL records from psql?

I'm now fixing pg_lesslog, which I reported a bug.   Now code is
almost okay and I'd like to add test tools to show pg_lesslog can
handle all the WAL record correctly.

XLOG_MULTIXACT_ZERO_OFF_PAGE
XLOG_MULTIXACT_ZERO_MEM_PAGE
XLOG_MULTIXACT_CREATE_ID
XLOG_HEAP_LOCK
XLOG_HEAP_INIT_PAGE
XLOG_BTREE_INSERT_META
XLOG_BTREE_DELETE_PAGE
XLOG_BTREE_DELETE_PAGE_META
XLOG_BTREE_DELETE_PAGE_HALF
XLOG_GIN_CREATE_PTREE
XLOG_GIN_SPLIT
XLOG_GIN_VACUUM_PAGE
XLOG_GIN_DELETE_PAGE
XLOG_GIN_DELETE_LISTPAGE
XLOG_GIST_PAGE_DELETE

So far, I'm using conventional BTREE,  btree_gin and btree_gist for
the test, as well as 2PC and savepoint.

Any information is welcome.

Thank you very much in advance;
------
Koichi Suzuki

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2010-04-13 12:09:16
Subject: Timezone matching script (win32)
Previous:From: Tom LaneDate: 2010-04-13 07:09:01
Subject: Re: debugger question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group