aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/rmgr.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-03-09 15:49:10 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-03-09 15:50:49 +0200
commitf1fd515b393a283d7368ce45a92709d2c7f9a991 (patch)
tree8682d681e88ff0f608a2d8c7c2e2dd4f93ab4eb5 /src/backend/access/transam/rmgr.c
parentb9e538b190d9cf4387361214eadc430393ebf852 (diff)
downloadpostgresql-f1fd515b393a283d7368ce45a92709d2c7f9a991.tar.gz
postgresql-f1fd515b393a283d7368ce45a92709d2c7f9a991.zip
Move WAL-related definitions from dbcommands.h to separate header file.
This makes it easier to write frontend programs that needs to understand the WAL record format of CREATE/DROP DATABASE. dbcommands.h cannot easily be #included in a frontend program, because it pulls in other header files that need backend stuff, but the new dbcommands_xlog.h header file has fewer dependencies.
Diffstat (limited to 'src/backend/access/transam/rmgr.c')
-rw-r--r--src/backend/access/transam/rmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/rmgr.c b/src/backend/access/transam/rmgr.c
index dcf423bdd73..acd825fad4f 100644
--- a/src/backend/access/transam/rmgr.c
+++ b/src/backend/access/transam/rmgr.c
@@ -20,7 +20,7 @@
#include "access/xact.h"
#include "access/xlog_internal.h"
#include "catalog/storage_xlog.h"
-#include "commands/dbcommands.h"
+#include "commands/dbcommands_xlog.h"
#include "commands/sequence.h"
#include "commands/tablespace.h"
#include "storage/standby.h"