select regexp_replace(field, E'[\\n\\r]+', ' ', 'g' )
прочетете ръководството http://www.postgresql.org/docs/current/static/functions-matching.html
select regexp_replace(field, E'[\\n\\r]+', ' ', 'g' )
прочетете ръководството http://www.postgresql.org/docs/current/static/functions-matching.html