Re: quote string exactly as it is - Mailing list pgsql-general

From Merlin Moncure
Subject Re: quote string exactly as it is
Date
Msg-id b42b73150912020515l197c7e59m3287b673334f4e52@mail.gmail.com
Whole thread Raw
In response to quote string exactly as it is  ("dario.ber@libero.it" <dario.ber@libero.it>)
List pgsql-general
On Wed, Dec 2, 2009 at 7:10 AM, dario.ber@libero.it <dario.ber@libero.it> wrote:
> Hello,
>
> How can I quote a string *exactly* as it is? I tried using
> quote_literal() but it doesn't return what I need in some cases.
>
> E.g.
>
> If my
> string is: ss\\\ss

dollar quote it:

select $abc$ss\\\ss$abc$;

merlin

pgsql-general by date:

Previous
From:
Date:
Subject: Auto Vacuum Daemon
Next
From: "dario.ber@libero.it"
Date:
Subject: R: Re: quote string exactly as it is