From f1fd515b393a283d7368ce45a92709d2c7f9a991 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 9 Mar 2015 15:49:10 +0200 Subject: 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. --- src/backend/commands/dbcommands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/commands') 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" -- cgit v1.2.3