]> granicus.if.org Git - postgresql/commit
Add Generic WAL interface
authorTeodor Sigaev <teodor@sigaev.ru>
Fri, 1 Apr 2016 09:21:48 +0000 (12:21 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Fri, 1 Apr 2016 09:21:48 +0000 (12:21 +0300)
commit65578341af1ae50e52e0f45e691ce88ad5a1b9b1
tree8449bb814debcbc2fdba25cb63c6f681decd3b0a
parentc202ecf9023ac3571709c274b326038ae39e90a7
Add Generic WAL interface

This interface is designed to give an access to WAL for extensions which
could implement new access method, for example. Previously it was
impossible because restoring from custom WAL would need to access system
catalog to find a redo custom function. This patch suggests generic way
to describe changes on page with standart layout.

Bump XLOG_PAGE_MAGIC because of new record type.

Author: Alexander Korotkov with a help of Petr Jelinek, Markus Nullmeier and
minor editorization by my
Reviewers: Petr Jelinek, Alvaro Herrera, Teodor Sigaev, Jim Nasby,
Michael Paquier
14 files changed:
doc/src/sgml/filelist.sgml
doc/src/sgml/generic-wal.sgml [new file with mode: 0644]
doc/src/sgml/postgres.sgml
src/backend/access/rmgrdesc/Makefile
src/backend/access/rmgrdesc/genericdesc.c [new file with mode: 0644]
src/backend/access/transam/Makefile
src/backend/access/transam/generic_xlog.c [new file with mode: 0644]
src/backend/access/transam/rmgr.c
src/backend/replication/logical/decode.c
src/bin/pg_xlogdump/.gitignore
src/bin/pg_xlogdump/rmgrdesc.c
src/include/access/generic_xlog.h [new file with mode: 0644]
src/include/access/rmgrlist.h
src/include/access/xlog_internal.h