Ensure configuration parameter "replication_user" is smaller than NAMEDATALEN

This commit is contained in:
Ian Barwick
2017-07-06 00:22:23 +09:00
parent ff4cc64a67
commit 9351e532b4
4 changed files with 19 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ typedef struct s_node_info
t_server_type type;
char node_name[MAXLEN];
char conninfo[MAXLEN];
char repluser[MAXLEN];
char repluser[NAMEDATALEN];
char slot_name[MAXLEN];
int priority;
bool active;