mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Remove #define statements in the InfoPg module to conform with newly-adopted coding standards.
Contributed by Cynthia Shang.
This commit is contained in:
parent
fe152b8f29
commit
2514d08d0d
@ -112,7 +112,7 @@
|
||||
<release-item-contributor id="cynthia.shang"/>
|
||||
</release-item-contributor-list>
|
||||
|
||||
<p>Rename constants in <code>Info</code> module for consistency.</p>
|
||||
<p>Info module improvements. Rename constants in <code>Info</code> module for consistency. Remove <code>#define</code> statements in the <code>InfoPg</code> module to conform with newly-adopted coding standards.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
|
@ -23,21 +23,13 @@ PostgreSQL Info Handler
|
||||
/***********************************************************************************************************************************
|
||||
Internal constants
|
||||
***********************************************************************************************************************************/
|
||||
#define INFO_SECTION_DB "db"
|
||||
#define INFO_SECTION_DB_HISTORY INFO_SECTION_DB ":history"
|
||||
STRING_STATIC(INFO_SECTION_DB_HISTORY_STR, INFO_SECTION_DB_HISTORY);
|
||||
#define INFO_SECTION_DB_MANIFEST "backup:" INFO_SECTION_DB
|
||||
STRING_STATIC(INFO_SECTION_DB_HISTORY_STR, "db:history");
|
||||
|
||||
#define INFO_KEY_DB_ID "db-id"
|
||||
STRING_STATIC(INFO_KEY_DB_ID_STR, INFO_KEY_DB_ID);
|
||||
#define INFO_KEY_DB_CATALOG_VERSION "db-catalog-version"
|
||||
STRING_STATIC(INFO_KEY_DB_CATALOG_VERSION_STR, INFO_KEY_DB_CATALOG_VERSION);
|
||||
#define INFO_KEY_DB_CONTROL_VERSION "db-control-version"
|
||||
STRING_STATIC(INFO_KEY_DB_CONTROL_VERSION_STR, INFO_KEY_DB_CONTROL_VERSION);
|
||||
#define INFO_KEY_DB_SYSTEM_ID "db-system-id"
|
||||
STRING_STATIC(INFO_KEY_DB_SYSTEM_ID_STR, INFO_KEY_DB_SYSTEM_ID);
|
||||
#define INFO_KEY_DB_VERSION "db-version"
|
||||
STRING_STATIC(INFO_KEY_DB_VERSION_STR, INFO_KEY_DB_VERSION);
|
||||
STRING_STATIC(INFO_KEY_DB_ID_STR, "db-id");
|
||||
STRING_STATIC(INFO_KEY_DB_CATALOG_VERSION_STR, "db-catalog-version");
|
||||
STRING_STATIC(INFO_KEY_DB_CONTROL_VERSION_STR, "db-control-version");
|
||||
STRING_STATIC(INFO_KEY_DB_SYSTEM_ID_STR, "db-system-id");
|
||||
STRING_STATIC(INFO_KEY_DB_VERSION_STR, "db-version");
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Object type
|
||||
|
Loading…
Reference in New Issue
Block a user