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
In postgresql if you want to insert values with ' in it then for this you have to give extra '
'
insert into test values (1,'user''s log'); insert into test values (2,'''my users'''); insert into test values (3,'customer''s');