pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13503: json_to_hstore does not works with backslash-quote in json value
2+ messages / 2 participants
[nested] [flat]

* BUG #13503: json_to_hstore does not works with backslash-quote in json value
@ 2015-07-16 06:44  kolmyk@hotmail.com
  0 siblings, 1 reply; 2+ messages in thread

From: kolmyk@hotmail.com @ 2015-07-16 06:44 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13503
Logged by:          Aleksei
Email address:      kolmyk@hotmail.com
PostgreSQL version: 9.4.1
Operating system:   Windows
Description:        

select json_to_hstore('{"key":"\"quoted value\""}'::json)

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



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13503: json_to_hstore does not works with backslash-quote in json value
@ 2015-07-16 18:27  Tom Lane <tgl@sss.pgh.pa.us>
  parent: kolmyk@hotmail.com
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-07-16 18:27 UTC (permalink / raw)
  To: kolmyk@hotmail.com; +Cc: pgsql-bugs

kolmyk@hotmail.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-07-16 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-16 06:44 BUG #13503: json_to_hstore does not works with backslash-quote in json value kolmyk@hotmail.com
2015-07-16 18:27 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox