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.
Showing
- contrib/pg_xlogdump/rmgrdesc.c 1 addition, 1 deletioncontrib/pg_xlogdump/rmgrdesc.c
- src/backend/access/rmgrdesc/dbasedesc.c 1 addition, 1 deletionsrc/backend/access/rmgrdesc/dbasedesc.c
- src/backend/access/transam/rmgr.c 1 addition, 1 deletionsrc/backend/access/transam/rmgr.c
- src/backend/commands/dbcommands.c 1 addition, 0 deletionssrc/backend/commands/dbcommands.c
- src/include/commands/dbcommands.h 0 additions, 24 deletionssrc/include/commands/dbcommands.h
- src/include/commands/dbcommands_xlog.h 44 additions, 0 deletionssrc/include/commands/dbcommands_xlog.h
src/include/commands/dbcommands_xlog.h
0 → 100644
Please register or sign in to comment