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

From dario.ber@libero.it
Subject R: Re: quote string exactly as it is
Date
Msg-id 18259906.1455081259762263867.JavaMail.defaultUser@defaultHost
Whole thread Raw
List pgsql-general
Thanks a lot for replies! Dollar quote is what I needed, but I could find it
in!

Dario

>----Messaggio originale----
>Da: mmoncure@gmail.com
>Data:
02/12/2009 14.15
>A: "dario.ber@libero.it"<dario.ber@libero.it>
>Cc: <pgsql-
general@postgresql.org>
>Ogg: Re: [GENERAL] quote string exactly as it is
>
>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: Merlin Moncure
Date:
Subject: Re: quote string exactly as it is
Next
From: Howard Cole
Date:
Subject: Re: Unexpected EOF on client connection