pgsql: Fix JSON error reporting for many cases of erroneous string valu

2023-03-13 Thread Tom Lane
Fix JSON error reporting for many cases of erroneous string values. The majority of error exit cases in json_lex_string() failed to set lex->token_terminator, causing problems for the error context reporting code: it would see token_terminator less than token_start and do something more or less nu

pgsql: Fix JSON error reporting for many cases of erroneous string valu

2023-03-13 Thread Tom Lane
Fix JSON error reporting for many cases of erroneous string values. The majority of error exit cases in json_lex_string() failed to set lex->token_terminator, causing problems for the error context reporting code: it would see token_terminator less than token_start and do something more or less nu

pgsql: Fix JSON error reporting for many cases of erroneous string valu

2023-03-13 Thread Tom Lane
Fix JSON error reporting for many cases of erroneous string values. The majority of error exit cases in json_lex_string() failed to set lex->token_terminator, causing problems for the error context reporting code: it would see token_terminator less than token_start and do something more or less nu

pgsql: Fix JSON error reporting for many cases of erroneous string valu

2023-03-13 Thread Tom Lane
Fix JSON error reporting for many cases of erroneous string values. The majority of error exit cases in json_lex_string() failed to set lex->token_terminator, causing problems for the error context reporting code: it would see token_terminator less than token_start and do something more or less nu

pgsql: Fix JSON error reporting for many cases of erroneous string valu

2023-03-13 Thread Tom Lane
Fix JSON error reporting for many cases of erroneous string values. The majority of error exit cases in json_lex_string() failed to set lex->token_terminator, causing problems for the error context reporting code: it would see token_terminator less than token_start and do something more or less nu

pgsql: Fix JSON error reporting for many cases of erroneous string valu

2023-03-13 Thread Tom Lane
Fix JSON error reporting for many cases of erroneous string values. The majority of error exit cases in json_lex_string() failed to set lex->token_terminator, causing problems for the error context reporting code: it would see token_terminator less than token_start and do something more or less nu