mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
Change the signature of rm_desc so that it's passed a XLogRecord.
Just feels more natural, and is more consistent with rm_redo.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user