daemon status: make output more like that of "cluster show"

In particular make any issues with unexpected server state more
obvious.
This commit is contained in:
Ian Barwick
2019-04-25 14:44:41 +09:00
parent da24896fd5
commit 9fe2fa2daf
11 changed files with 397 additions and 279 deletions

View File

@@ -115,6 +115,9 @@ item_list_append_format(ItemList *item_list, const char *format,...)
ItemListCell *cell;
va_list arglist;
if (item_list == NULL)
return;
cell = (ItemListCell *) pg_malloc0(sizeof(ItemListCell));
if (cell == NULL)