diff options
| author | Robert Haas | 2019-09-19 20:16:00 +0000 |
|---|---|---|
| committer | Robert Haas | 2019-12-05 19:06:16 +0000 |
| commit | 778152c0e7134f4eb9dd035a1d085d89ff33f411 (patch) | |
| tree | 0e802202679d6b4b4ed44731a3969ca420a6afc0 /src/backend/access/transam/xlog.c | |
| parent | 52dfa81d409efc86be3c36be0ac0de474a0a02ad (diff) | |
POC of backup manifest with file names, sizes, timestamps, checksums.manifest
Diffstat (limited to 'src/backend/access/transam/xlog.c')
| -rw-r--r-- | src/backend/access/transam/xlog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 6bc1a6b46d..f0ad08aa33 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -10504,7 +10504,8 @@ do_pg_start_backup(const char *backupidstr, bool fast, TimeLineID *starttli_p, ti->oid = pstrdup(de->d_name); ti->path = pstrdup(buflinkpath.data); ti->rpath = relpath ? pstrdup(relpath) : NULL; - ti->size = infotbssize ? sendTablespace(fullpath, true) : -1; + ti->size = infotbssize ? + sendTablespace(fullpath, ti->oid, true, NULL) : -1; if (tablespaces) *tablespaces = lappend(*tablespaces, ti); |
