Re: A few questions about carriage returns (\r) - Mailing list pgsql-general

From Jon Lapham
Subject Re: A few questions about carriage returns (\r)
Date
Msg-id 44917E26.8020603@jandr.org
Whole thread Raw
In response to Re: A few questions about carriage returns (\r)  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Martijn van Oosterhout wrote:
> # select replace('aac','a','b');
>  replace
> ---------
>  bbc
> (1 row)
>
> So replace(str, '\r', '\\r') should work

Perfect, thanks.

I guess I'm blind, I didn't see this in the docs.  :)

-Jon

--
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
  Jon Lapham  <lapham@jandr.org>                Rio de Janeiro, Brasil
  Personal: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------


pgsql-general by date:

Previous
From: Nis Jorgensen
Date:
Subject: Re: A few questions about carriage returns (\r)
Next
From: "Relyea, Mike"
Date:
Subject: Re: Out of memory error in 8.1.0 Win32