mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Don't export basebackup.c's sendTablespace().
Commit 72d422a522
made xlog.c call
sendTablespace() with the 'sizeonly' argument set to true, which
required basebackup.c to export sendTablespace(). However, that's
kind of ugly, so instead defer the call to sendTablespace() until
basebackup.c regains control. That way, it can still be a static
function.
Patch by me, reviewed by Amit Kapila and Kyotaro Horiguchi.
Discussion: http://postgr.es/m/CA+TgmoYq+59SJ2zBbP891ngWPA9fymOqntqYcweSDYXS2a620A@mail.gmail.com
This commit is contained in:
@@ -372,7 +372,7 @@ typedef enum SessionBackupState
|
||||
|
||||
extern XLogRecPtr do_pg_start_backup(const char *backupidstr, bool fast,
|
||||
TimeLineID *starttli_p, StringInfo labelfile,
|
||||
List **tablespaces, StringInfo tblspcmapfile, bool infotbssize,
|
||||
List **tablespaces, StringInfo tblspcmapfile,
|
||||
bool needtblspcmapfile);
|
||||
extern XLogRecPtr do_pg_stop_backup(char *labelfile, bool waitforarchive,
|
||||
TimeLineID *stoptli_p);
|
||||
|
Reference in New Issue
Block a user