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  ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>)
Re: How to insert apostrophied names into postgres  ("Vyacheslav Kalinin" <vka@mgcp.com>)
Список 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 по дате отправления:

Предыдущее
От: "Mag Gam"
Дата:
Сообщение: SQL question
Следующее
От: "Phillip Smith"
Дата:
Сообщение: Re: How to insert apostrophied names into postgres