mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
[Issue #431] rename tablespace parameters in json output
This commit is contained in:
+2
-2
@@ -455,8 +455,8 @@ print_backup_json_object(PQExpBuffer buf, pgBackup *backup)
|
||||
{
|
||||
pgFile *file = parray_get(tablespaces, i);
|
||||
json_add(buf, JT_BEGIN_OBJECT, &json_level);
|
||||
json_add_value(buf, "link-name", file->name, json_level, true);
|
||||
json_add_value(buf, "link-path", file->linked, json_level, true);
|
||||
json_add_value(buf, "oid", file->name, json_level, true);
|
||||
json_add_value(buf, "path", file->linked, json_level, true);
|
||||
json_add(buf, JT_END_OBJECT, &json_level);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user