replacing single quotes

Поиск
Список
Период
Сортировка
От Ow Mun Heng
Тема replacing single quotes
Дата
Msg-id 1191989278.18077.21.camel@neuromancer.home.net
обсуждение исходный текст
Ответы Re: replacing single quotes  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-general
Input is of form

'ppp','aaa','bbb'

I want it to be stripped of quotes to become

ppp,aaa,bbb

escaping the quote would work but it means I will have to do some magic
on the input as well to escape it prior to replacing it.

select replace('AB\'A','\'','C') this works

Can I buy a clue here?


oh.. I;ve also tried to use quote_literal but no go..


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

Предыдущее
От: Guy Rouillier
Дата:
Сообщение: Re: SLEEP in posgresql
Следующее
От: "Jasbinder Singh Bali"
Дата:
Сообщение: Re: SLEEP in posgresql