You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
Move info/manifest.c to info/manifest/manifest.c.
This module will be split up so move it to its own path first.
This commit is contained in:
@@ -32,7 +32,7 @@ Backup Command
|
||||
#include "db/helper.h"
|
||||
#include "info/infoArchive.h"
|
||||
#include "info/infoBackup.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "postgres/version.h"
|
||||
#include "protocol/helper.h"
|
||||
|
||||
@@ -19,7 +19,6 @@ Backup File
|
||||
#include "common/regExp.h"
|
||||
#include "common/type/convert.h"
|
||||
#include "common/type/json.h"
|
||||
#include "info/manifest.h"
|
||||
#include "storage/helper.h"
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
|
||||
@@ -14,7 +14,6 @@ Expire Command
|
||||
#include "config/config.h"
|
||||
#include "info/infoArchive.h"
|
||||
#include "info/infoBackup.h"
|
||||
#include "info/manifest.h"
|
||||
#include "protocol/helper.h"
|
||||
#include "storage/helper.h"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Info Command
|
||||
#include "info/infoArchive.h"
|
||||
#include "info/infoBackup.h"
|
||||
#include "info/infoPg.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "storage/helper.h"
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ Manifest Command
|
||||
#include "common/log.h"
|
||||
#include "common/type/json.h"
|
||||
#include "config/config.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "storage/helper.h"
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
|
||||
@@ -22,7 +22,7 @@ Restore File
|
||||
#include "common/io/limitRead.h"
|
||||
#include "common/log.h"
|
||||
#include "config/config.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "storage/helper.h"
|
||||
|
||||
/**********************************************************************************************************************************/
|
||||
|
||||
@@ -15,7 +15,7 @@ Restore Command
|
||||
#include "config/exec.h"
|
||||
#include "info/infoArchive.h"
|
||||
#include "info/infoBackup.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "postgres/version.h"
|
||||
#include "protocol/helper.h"
|
||||
|
||||
@@ -11,7 +11,6 @@ Stanza Delete Command
|
||||
#include "config/config.h"
|
||||
#include "info/infoArchive.h"
|
||||
#include "info/infoBackup.h"
|
||||
#include "info/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "postgres/version.h"
|
||||
#include "protocol/helper.h"
|
||||
|
||||
@@ -24,7 +24,7 @@ Verify contents of the repository.
|
||||
#include "config/config.h"
|
||||
#include "info/infoArchive.h"
|
||||
#include "info/infoBackup.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "postgres/version.h"
|
||||
#include "protocol/helper.h"
|
||||
|
||||
@@ -19,7 +19,6 @@ Backup Info Handler
|
||||
#include "common/type/json.h"
|
||||
#include "common/type/list.h"
|
||||
#include "info/infoBackup.h"
|
||||
#include "info/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "postgres/version.h"
|
||||
#include "storage/helper.h"
|
||||
|
||||
@@ -25,7 +25,7 @@ typedef enum
|
||||
#include "common/type/string.h"
|
||||
#include "common/type/stringList.h"
|
||||
#include "info/infoPg.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "storage/storage.h"
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
|
||||
@@ -13,7 +13,7 @@ Backup Manifest Handler
|
||||
#include "common/regExp.h"
|
||||
#include "common/type/json.h"
|
||||
#include "common/type/list.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "postgres/version.h"
|
||||
#include "storage/storage.h"
|
||||
@@ -7,8 +7,8 @@ timestamps, etc. A list of databases is also included for selective restore.
|
||||
The purpose of the manifest is to allow the restore command to confidently reconstruct the PostgreSQL data directory and ensure that
|
||||
nothing is missing or corrupt. It is also useful for reporting, e.g. size of backup, backup time, etc.
|
||||
***********************************************************************************************************************************/
|
||||
#ifndef INFO_MANIFEST_H
|
||||
#define INFO_MANIFEST_H
|
||||
#ifndef INFO_MANIFEST_MANIFEST_H
|
||||
#define INFO_MANIFEST_MANIFEST_H
|
||||
|
||||
#include "common/type/string.h"
|
||||
|
||||
+1
-1
@@ -234,8 +234,8 @@ src_pgbackrest = [
|
||||
'info/info.c',
|
||||
'info/infoArchive.c',
|
||||
'info/infoBackup.c',
|
||||
'info/manifest.c',
|
||||
'info/infoPg.c',
|
||||
'info/manifest/manifest.c',
|
||||
'postgres/client.c',
|
||||
'postgres/interface.c',
|
||||
'postgres/interface/crc32.c',
|
||||
|
||||
@@ -2091,11 +2091,11 @@ src/info/infoPg.h:
|
||||
class: core
|
||||
type: c/h
|
||||
|
||||
src/info/manifest.c:
|
||||
src/info/manifest/manifest.c:
|
||||
class: core
|
||||
type: c
|
||||
|
||||
src/info/manifest.h:
|
||||
src/info/manifest/manifest.h:
|
||||
class: core
|
||||
type: c/h
|
||||
|
||||
|
||||
+4
-4
@@ -770,10 +770,10 @@ unit:
|
||||
harness:
|
||||
name: manifest
|
||||
shim:
|
||||
info/manifest: ~
|
||||
info/manifest/manifest: ~
|
||||
|
||||
coverage:
|
||||
- info/manifest
|
||||
- info/manifest/manifest
|
||||
|
||||
depend:
|
||||
- command/backup/common
|
||||
@@ -948,7 +948,7 @@ unit:
|
||||
|
||||
include:
|
||||
- info/info
|
||||
- info/manifest
|
||||
- info/manifest/manifest
|
||||
- storage/storage
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------------------------------
|
||||
@@ -974,7 +974,7 @@ unit:
|
||||
include:
|
||||
- common/user
|
||||
- info/infoBackup
|
||||
- info/manifest
|
||||
- info/manifest/manifest
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------------------------------
|
||||
- name: manifest
|
||||
|
||||
@@ -11,7 +11,7 @@ Harness for Creating Test Backups
|
||||
#include "common/crypto/hash.h"
|
||||
#include "config/config.h"
|
||||
#include "info/infoArchive.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "postgres/interface.h"
|
||||
#include "storage/helper.h"
|
||||
#include "storage/posix/storage.h"
|
||||
|
||||
@@ -5,7 +5,7 @@ Harness for Manifest Testing
|
||||
#define TEST_COMMON_HARNESS_MANIFEST_H
|
||||
|
||||
#include "common/user.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Add db to manifest
|
||||
|
||||
@@ -18,7 +18,7 @@ running out of memory on the test systems or taking an undue amount of time. It
|
||||
#include "common/time.h"
|
||||
#include "common/type/list.h"
|
||||
#include "common/type/object.h"
|
||||
#include "info/manifest.h"
|
||||
#include "info/manifest/manifest.h"
|
||||
#include "postgres/version.h"
|
||||
#include "storage/posix/storage.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user