Removing spaces - Mailing list pgsql-general

From Dave Smith
Subject Removing spaces
Date
Msg-id 1045678772.12427.25.camel@playpen
Whole thread Raw
Responses Re: Removing spaces  ("Ed L." <pgsql@bluepolka.net>)
Re: Removing spaces  (Fabrizio Mazzoni <veramente@libero.it>)
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: Greg Stark
Date:
Subject: Re: TIMESTAMP WITH( OUT)? TIME ZONE indexing/type choice...
Next
From: "Ed L."
Date:
Subject: Re: Removing spaces