aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-06-14 10:46:48 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-06-14 10:46:48 +0300
commit0ef0b6784c7d7258cae314cb46558873edaf9c0a (patch)
treeb79ffdee4813ef5db62d4aedebe8d5529270eacc /src/include/access/xlog.h
parentf3fdd257a430ff581090740570af9f266bb893e3 (diff)
downloadpostgresql-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 'src/include/access/xlog.h')
-rw-r--r--src/include/access/xlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index 1eaa5c1c210..85f9cb7cab2 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -298,7 +298,7 @@ extern Buffer RestoreBackupBlock(XLogRecPtr lsn, XLogRecord *record,
bool get_cleanup_lock, bool keep_buffer);
extern void xlog_redo(XLogRecPtr lsn, XLogRecord *record);
-extern void xlog_desc(StringInfo buf, uint8 xl_info, char *rec);
+extern void xlog_desc(StringInfo buf, XLogRecord *record);
extern void issue_xlog_fsync(int fd, XLogSegNo segno);