提交 ee1a8e32 编写于 作者: H Heikki Linnakangas

Use correct length for fields, like in the upstream.

We don't do EXEC_BACKEND builds at the moment, but if we did, this would
likely cause compiler or Coverity warnings. Or a crash at runtime, if a
locale had a really long name.
上级 ec4cdf6f
......@@ -658,8 +658,8 @@ typedef struct
char my_exec_path[MAXPGPATH];
char pkglib_path[MAXPGPATH];
char ExtraOptions[MAXPGPATH];
char lc_collate[NAMEDATALEN];
char lc_ctype[NAMEDATALEN];
char lc_collate[LOCALE_NAME_BUFLEN];
char lc_ctype[LOCALE_NAME_BUFLEN];
} BackendParameters;
static void read_backend_variables(char *id, Port *port);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册