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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f1fd515b393a283d7368ce45a92709d2c7f9a991
Modified Files
--------------
contrib/pg_xlogdump/rmgrdesc.c | 2 +-
src/backend/access/rmgrdesc/dbasedesc.c | 2 +-
src/backend/access/transam/rmgr.c | 2 +-
src/backend/commands/dbcommands.c | 1 +
src/include/commands/dbcommands.h | 24 -----------------
src/include/commands/dbcommands_xlog.h | 44 +++++++++++++++++++++++++++++++
6 files changed, 48 insertions(+), 27 deletions(-)