Escape JSON strings so all characters can be represented.
Escape JSON strings so all characters can be represented.

This new function was taken directly from the postgres source.

Sample query to reproduce problem:

SELECT parse_ident(E'\"c\".X XXXX\002XXXXXX')

lfittl/libpg_query,lfittl/libpg_query,lfittl/libpg_query