!499 逻辑复制时,增大逻辑复制插件的选项长度限制。

Merge pull request !499 from 吕辉/increased_length_limit_for_logical_replication_plugin
This commit is contained in:
opengauss-bot
2020-12-28 20:33:50 +08:00
committed by Gitee

View File

@ -1664,7 +1664,7 @@ bool cmdStringCheck(const char* cmd_string)
*/
static bool cmdStringLengthCheck(const char* cmd_string)
{
const size_t cmd_length_limit = 200;
const size_t cmd_length_limit = 20000;
const size_t slotname_limit = 64;
char comd[cmd_length_limit] = {'\0'};
char* sub_cmd = NULL;