Re: BUG #13503: json_to_hstore does not works with backslash-quote in json value

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kolmyk(at)hotmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13503: json_to_hstore does not works with backslash-quote in json value
Date: 2015-07-16 18:27:51
Message-ID: 5310.1437071271@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

kolmyk(at)hotmail(dot)com writes:
> select json_to_hstore('{"key":"\"quoted value\""}'::json)

> -- ERROR: Syntax error near '"' at position 7
> -- CONTEXT: SQL function "json_to_hstore" statement 1

There is no json_to_hstore() function in the standard Postgres
distribution, so we can't help you too much with whatever's
wrong with that function.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message tgpfeiffer 2015-07-17 01:41:56 BUG #13504: Types in math functions table is incorrect
Previous Message pinker 2015-07-16 07:56:02 Interval - incorrect grammar form