I have a table test(id,name).
test(id,name)
I need to insert values like: user\'s log, \'my user\', customer\'s.
user\'s log
\'my user\'
customer\'s
If you need to get the work done inside Pg:
to_json(value)
https://www.postgresql.org/docs/9.3/static/functions-json.html#FUNCTIONS-JSON-TABLE