aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands
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/commands
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/commands')
-rw-r--r--src/include/commands/dbcommands.h2
-rw-r--r--src/include/commands/sequence.h2
-rw-r--r--src/include/commands/tablespace.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h
index fa10295d3a8..c2380dca111 100644
--- a/src/include/commands/dbcommands.h
+++ b/src/include/commands/dbcommands.h
@@ -63,7 +63,7 @@ extern Oid get_database_oid(const char *dbname, bool missingok);
extern char *get_database_name(Oid dbid);
extern void dbase_redo(XLogRecPtr lsn, XLogRecord *rptr);
-extern void dbase_desc(StringInfo buf, uint8 xl_info, char *rec);
+extern void dbase_desc(StringInfo buf, XLogRecord *rptr);
extern void check_encoding_locale_matches(int encoding, const char *collate, const char *ctype);
diff --git a/src/include/commands/sequence.h b/src/include/commands/sequence.h
index 7d8a370ddb9..8819c00e812 100644
--- a/src/include/commands/sequence.h
+++ b/src/include/commands/sequence.h
@@ -77,6 +77,6 @@ extern void ResetSequence(Oid seq_relid);
extern void ResetSequenceCaches(void);
extern void seq_redo(XLogRecPtr lsn, XLogRecord *rptr);
-extern void seq_desc(StringInfo buf, uint8 xl_info, char *rec);
+extern void seq_desc(StringInfo buf, XLogRecord *rptr);
#endif /* SEQUENCE_H */
diff --git a/src/include/commands/tablespace.h b/src/include/commands/tablespace.h
index 1603f677a7d..073cb0d64a1 100644
--- a/src/include/commands/tablespace.h
+++ b/src/include/commands/tablespace.h
@@ -57,6 +57,6 @@ extern char *get_tablespace_name(Oid spc_oid);
extern bool directory_is_empty(const char *path);
extern void tblspc_redo(XLogRecPtr lsn, XLogRecord *rptr);
-extern void tblspc_desc(StringInfo buf, uint8 xl_info, char *rec);
+extern void tblspc_desc(StringInfo buf, XLogRecord *rptr);
#endif /* TABLESPACE_H */