diff --git a/lib/PgSQL_Set_Stmt_Parser.cpp b/lib/PgSQL_Set_Stmt_Parser.cpp index 0e8e5247a..0b758ae5d 100644 --- a/lib/PgSQL_Set_Stmt_Parser.cpp +++ b/lib/PgSQL_Set_Stmt_Parser.cpp @@ -128,7 +128,7 @@ void PgSQL_Set_Stmt_Parser::generateRE_parse1v2() { } } - vp = "\\w+(?:\\s*,\\s*\\w+)+"; // multiple words separated by commas, WITHOUT any spaces between words + vp = "\\w+(?:\\s*,\\s*\\w+|\\s*:\\s*\\w+)+"; // multiple words separated by commas, WITHOUT any spaces between words // NOTE: we do not use multiple words without quotes for (auto it = quote_symbol.begin(); it != quote_symbol.end(); it++) { string s = *it + vp + *it;