How to insert apostrophied names into postgres

Поиск
Список
Период
Сортировка
От richard terry
Тема How to insert apostrophied names into postgres
Дата
Msg-id 200802191057.08677.rterry@gnumed.net
обсуждение исходный текст
Ответы Re: How to insert apostrophied names into postgres
Re: How to insert apostrophied names into postgres
Список pgsql-novice
eg Peter's

if one passes the name to an sql in code it ends up looking like:

insert into whatevertable (name) values('Peter's');

and bombs.

Any suggestions appreciated.

Richard

В списке pgsql-novice по дате отправления: