Move WAL-related definitions from dbcommands.h to separate header file.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_xlogdump/rmgrdesc.c | modified | +1 −1 |
| src/backend/access/rmgrdesc/dbasedesc.c | modified | +1 −1 |
| src/backend/access/transam/rmgr.c | modified | +1 −1 |
| src/backend/commands/dbcommands.c | modified | +1 −0 |
| src/include/commands/dbcommands.h | modified | +0 −24 |
| src/include/commands/dbcommands_xlog.h | added | +44 −0 |