CALL PQ('pq',('{"id":"108056","text":"File:Rainbow, CA.jpg\nRainbow <ref name=\"GR1\"> "}'), 1 as docs_json, 1 as docs, 1 as query, 'id' as docs_id);
If add escape all work fine:
CALL PQ('pq',('{"id":"108056","text":"File:Rainbow, CA.jpg\nRainbow <ref name=\"GR1\"> "}'), 1 as docs_json, 1 as docs, 1 as query, 'id' as docs_id);
Very important:\
When we will fix this problem - we must save two syntax. Cause existing clients fix this problem in their code, and we can give release without backwards compatibility support.
Get error when use valid json:
If add escape all work fine:
Very important:\ When we will fix this problem - we must save two syntax. Cause existing clients fix this problem in their code, and we can give release without backwards compatibility support.