Two Ways To Escape A Quote In A String
> select 'who's on first?';
...> select 'who''s on first?';
?column?
-----------------
who's on first?
(1 row)> select E'who\'s on first?';
?column?
-----------------
who's on first?
(1 row)Last updated