Modifying text data? - Mailing list pgsql-general

From e_arizon_benito@yahoo.com (Enrique Arizón Benito)
Subject Modifying text data?
Date
Msg-id 4eb64fb0.0203080248.2916607c@posting.google.com
Whole thread Raw
Responses Re: Modifying text data?  (Darren Ferguson <darren@crystalballinc.com>)
Re: Modifying text data?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-general
Hi,
 I'm trying to modify text fields in an "automatic" way so to be able
for example, to change any 'Canada' substring occurrence with the
UPPER CASE equivalent "CANADA", with the added option 'Canada'
appearing anywhere inside the text field.
While it is very easy to find matching registers by using regular
expresions, (SELECT * from my_table where my_columm ~* 'canada'; in
previous example) I find no way to change them afterwards, but
manually updating each register.

 Thanks in advance for any suggestions!

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: VACUUM query
Next
From: Aaron Couts
Date:
Subject: vacuum with perl dbi / pg 7.1.3