1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Add pg_xlogdump contrib program

This program relies on rm_desc backend routines and the xlogreader
infrastructure to emit human-readable rendering of WAL records.

Author: Andres Freund, with many reworks by Álvaro
Reviewed (in a much earlier version) by Peter Eisentraut
This commit is contained in:
Alvaro Herrera
2013-02-22 16:46:24 -03:00
parent c0c6acdfa0
commit 639ed4e84b
10 changed files with 1104 additions and 3 deletions

View File

@ -28,8 +28,6 @@
#ifndef PALLOC_H
#define PALLOC_H
#ifndef FRONTEND
/*
* Type MemoryContextData is declared in nodes/memnodes.h. Most users
* of memory allocation should just treat it as an abstract type, so we
@ -37,6 +35,8 @@
*/
typedef struct MemoryContextData *MemoryContext;
#ifndef FRONTEND
/*
* CurrentMemoryContext is the default allocation context for palloc().
* We declare it here so that palloc() can be a macro. Avoid accessing it