replacing single quotes - Mailing list pgsql-general

From Ow Mun Heng
Subject replacing single quotes
Date
Msg-id 1191989278.18077.21.camel@neuromancer.home.net
Whole thread Raw
Responses Re: replacing single quotes  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List 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 by date:

Previous
From: Guy Rouillier
Date:
Subject: Re: SLEEP in posgresql
Next
From: "Jasbinder Singh Bali"
Date:
Subject: Re: SLEEP in posgresql