summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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