Removing spaces - Mailing list pgsql-general

From Dave Smith
Subject Removing spaces
Date
Msg-id 1045674474.12427.22.camel@playpen
Whole thread Raw
Responses Re: Removing spaces  (Richard Huxton <dev@archonet.com>)
Re: Removing spaces  (greg@turnstep.com)
List pgsql-general
I have a field of type text that has a value like

'hello   \nworld   \n'

I would like to remove the trailing blanks between the last character
and the newline. I would like to use replace with a regx  like
/[ ]+\n/\n/ but it does not seem to work.





pgsql-general by date:

Previous
From: "Mark Cave-Ayland"
Date:
Subject: Re: 7.3.1 takes long time to vacuum table?
Next
From: Tom Lane
Date:
Subject: Re: 7.3.1 takes long time to vacuum table?