mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:26:30 -04:00
Fix backpatching error in commit 55c88079
This commit is contained in:
parent
55c8807978
commit
9e05f3b97e
1 changed files with 1 additions and 1 deletions
|
|
@ -1363,7 +1363,7 @@ datum_to_json(Datum val, bool is_null, StringInfo result,
|
|||
* Don't call escape_json for a non-key if it's a valid JSON
|
||||
* number.
|
||||
*/
|
||||
if (!key_scalar && IsValidJsonNumber(outputstr, strlen(outputstr)))
|
||||
if (IsValidJsonNumber(outputstr, strlen(outputstr)))
|
||||
appendStringInfoString(result, outputstr);
|
||||
else
|
||||
escape_json(result, outputstr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue