diff options
author | Heikki Linnakangas | 2015-03-09 13:49:10 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2015-03-09 13:50:49 +0000 |
commit | f1fd515b393a283d7368ce45a92709d2c7f9a991 (patch) | |
tree | 8682d681e88ff0f608a2d8c7c2e2dd4f93ab4eb5 /src/backend/commands | |
parent | b9e538b190d9cf4387361214eadc430393ebf852 (diff) |
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/commands')
-rw-r--r-- | src/backend/commands/dbcommands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c index 85791364205..a699ce3fd28 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -40,6 +40,7 @@ #include "catalog/pg_tablespace.h" #include "commands/comment.h" #include "commands/dbcommands.h" +#include "commands/dbcommands_xlog.h" #include "commands/defrem.h" #include "commands/seclabel.h" #include "commands/tablespace.h" |