postgresql/contrib/pg_xlogdump
Andres Freund 728f152e07 Add rmgr callback to name xlog record types for display purposes.
This is primarily useful for the upcoming pg_xlogdump --stats feature,
but also allows to remove some duplicated code in the rmgr_desc
routines.

Due to the separation and harmonization, the output of dipsplayed
records changes somewhat. But since this isn't enduser oriented
content that's ok.

It's potentially desirable to further change pg_xlogdump's display of
records. It previously wasn't possible to show the record type
separately from the description forcing it to be in the last
column. But that's better done in a separate commit.

Author: Abhijit Menon-Sen, slightly editorialized by me
Reviewed-By: Álvaro Herrera, Andres Freund, and Heikki Linnakangas
Discussion: 20140604104716.GA3989@toroid.org
2014-09-19 16:20:29 +02:00
..
.gitignore Add missing .gitignore file. 2013-02-26 15:58:34 -05:00
compat.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
Makefile Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
pg_xlogdump.c Add rmgr callback to name xlog record types for display purposes. 2014-09-19 16:20:29 +02:00
rmgrdesc.c Add rmgr callback to name xlog record types for display purposes. 2014-09-19 16:20:29 +02:00
rmgrdesc.h Add rmgr callback to name xlog record types for display purposes. 2014-09-19 16:20:29 +02:00