Re: question about plpgsql replace function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: question about plpgsql replace function
Date: 2005-08-19 16:30:43
Message-ID: 25732.1124469043@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> writes:
> I want to replace the CRLF with a comma so I can use the email
> addresses in another app, so I thought I would do this:

> thearray = replace(mandi_notifications,'/r/n',',');

> but it does not work.

I think you wanted backslashes not forward slashes.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam Witney 2005-08-19 16:32:42 Re: How to cancel a query if SIGINT does not work?
Previous Message Tom Lane 2005-08-19 16:29:27 Re: http://www.postgresql.org/docs/8.0/static/xfunc-sql.html