From 7f2f737f4cdd1fd35f876a8c3806ef048a82cc04 Mon Sep 17 00:00:00 2001 From: "Mikhail A. Kulagin" Date: Fri, 22 Oct 2021 02:19:20 +0300 Subject: [PATCH] [Issue #431] rename tablespace parameters in json output --- src/show.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/show.c b/src/show.c index 21e60e72..8916afdb 100644 --- a/src/show.c +++ b/src/show.c @@ -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); }