]> granicus.if.org Git - postgresql/commit
Move WAL-related definitions from dbcommands.h to separate header file.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 9 Mar 2015 13:49:10 +0000 (15:49 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 9 Mar 2015 13:50:49 +0000 (15:50 +0200)
commitf1fd515b393a283d7368ce45a92709d2c7f9a991
tree8682d681e88ff0f608a2d8c7c2e2dd4f93ab4eb5
parentb9e538b190d9cf4387361214eadc430393ebf852
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.
contrib/pg_xlogdump/rmgrdesc.c
src/backend/access/rmgrdesc/dbasedesc.c
src/backend/access/transam/rmgr.c
src/backend/commands/dbcommands.c
src/include/commands/dbcommands.h
src/include/commands/dbcommands_xlog.h [new file with mode: 0644]