Re: replace function - Mailing list pgsql-sql

From rute solipa
Subject Re: replace function
Date
Msg-id 3EAD44CA.2090303@eselx.ipl.pt
Whole thread Raw
In response to replace function  (rute solipa <rutes@eselx.ipl.pt>)
Responses Re: replace function  (Rajesh Kumar Mallah <rmallah@trade-india.com>)
List pgsql-sql
Rajesh Kumar Mallah wrote:<br /><blockquote cite="midPine.LNX.4.33.0304282036300.645-100000@localhost.localdomain"
type="cite"><prewrap="">On Mon, 28 Apr 2003, rute solipa wrote:
 
 </pre><blockquote type="cite"><pre wrap="">hi everyone,

i've got an oracle query that goes like this:
select  replace (v.ds_conf, 'ns', 'p/fazer') as conf.
from tb_visitas

the result of this query is everytime is find string 'ns' it will be 
replaced by 'p/fazer'.   </pre></blockquote><pre wrap="">


It works exactly the same way here :)
in postgresql 7.3.x it is inbuilt , in older
version it can be installed from the postgresql
cookbook website ,


Regds
mallah.

 </pre><blockquote type="cite"><pre wrap="">does any one can tell me how do i do this in postgresql.

kind regards,

rute


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
   </pre></blockquote><pre wrap="">
 </pre></blockquote> but i have the 7.2.2 version<br />

pgsql-sql by date:

Previous
From: rute solipa
Date:
Subject: replace function
Next
From: Michael Teter
Date:
Subject: Re: jsp postgres installation/configuration howto url