Remove redundant fields from node record struct

This commit is contained in:
Ian Barwick
2017-07-17 14:11:14 +09:00
parent 0dcd479322
commit a56bb41891
3 changed files with 8 additions and 12 deletions

View File

@@ -68,8 +68,6 @@ typedef struct s_node_info
bool active;
char slot_name[MAXLEN];
/* used during failover to track node status */
bool is_ready;
bool is_visible;
XLogRecPtr last_wal_receive_lsn;
NodeStatus node_status;
MonitoringState monitoring_state;
@@ -88,8 +86,6 @@ typedef struct s_node_info
DEFAULT_PRIORITY, \
true, \
"", \
false, \
false, \
InvalidXLogRecPtr, \
NODE_STATUS_UNKNOWN, \
MS_NORMAL, \