Escape variable - Mailing list pgsql-general

From Jaime Rivera
Subject Escape variable
Date
Msg-id CAFP1Jqzw_jUZFimFM5L7wRqhEn_CgAU-rUFGvG-8fkVpBMXNBQ@mail.gmail.com
Whole thread Raw
Responses Re: Escape variable  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Hello,

I've been looking for a way to escape a variable inside a plpgsql stored procedure just like E works with constants. 

For example :

 select E'Se recibi\u00f3 a  \n ci\u00f3n.' 

Returns:

Se recibió a  
 ción.

Thanks

Jaime



pgsql-general by date:

Previous
From: Francisco Olarte
Date:
Subject: Re: libpq heartbeat
Next
From: Merlin Moncure
Date:
Subject: Re: libpq heartbeat