diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-06-14 10:46:48 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-06-14 10:46:48 +0300 |
commit | 0ef0b6784c7d7258cae314cb46558873edaf9c0a (patch) | |
tree | b79ffdee4813ef5db62d4aedebe8d5529270eacc /contrib/pg_xlogdump/pg_xlogdump.c | |
parent | f3fdd257a430ff581090740570af9f266bb893e3 (diff) | |
download | postgresql-0ef0b6784c7d7258cae314cb46558873edaf9c0a.tar.gz postgresql-0ef0b6784c7d7258cae314cb46558873edaf9c0a.zip |
Change the signature of rm_desc so that it's passed a XLogRecord.
Just feels more natural, and is more consistent with rm_redo.
Diffstat (limited to 'contrib/pg_xlogdump/pg_xlogdump.c')
-rw-r--r-- | contrib/pg_xlogdump/pg_xlogdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c index 824b8c393c9..c555786401f 100644 --- a/contrib/pg_xlogdump/pg_xlogdump.c +++ b/contrib/pg_xlogdump/pg_xlogdump.c @@ -351,7 +351,7 @@ XLogDumpDisplayRecord(XLogDumpConfig *config, XLogRecPtr ReadRecPtr, XLogRecord !!(XLR_BKP_BLOCK(3) & record->xl_info)); /* the desc routine will printf the description directly to stdout */ - desc->rm_desc(NULL, record->xl_info, XLogRecGetData(record)); + desc->rm_desc(NULL, record); putchar('\n'); |