aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-02-22 16:46:24 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-02-22 16:56:55 -0300
commit639ed4e84b7493594860f56b78b25fd113e78fd7 (patch)
tree40488ddd0c7523bafcd0934fdf1e73a0432d1f82 /src
parentc0c6acdfa055b0c76ea0d1defd4c2c0d5a5c256f (diff)
downloadpostgresql-639ed4e84b7493594860f56b78b25fd113e78fd7.tar.gz
postgresql-639ed4e84b7493594860f56b78b25fd113e78fd7.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/include/utils/palloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/palloc.h b/src/include/utils/palloc.h
index 7fc7ccc3b52..fc5d6053d2c 100644
--- a/src/include/utils/palloc.h
+++ b/src/include/utils/palloc.h
@@ -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