From: Oleg Lebedev <olebedev@waterford.org>
To: Postgres SQL Mailing List <pgsql-sql@postgresql.org>
Subject: substring replacement
Date: Thu, 08 Nov 2001 15:45:44 -0700
Message-ID: <3BEB0B18.3D6604DA@waterford.org> (raw)
Hi everybody,
I am wondering if there is an efficient way to get rid of line breaks
('\n') and tabs ('\t') from a string. Suppose, I have the following
query:
SELECT description
FROM device;
I don't want the returned description column to contain '\n' and '\t'.
Is it possible to do it efficiently?
thanks,
Oleg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: olebedev@waterford.org
Subject: Re: substring replacement
In-Reply-To: <3BEB0B18.3D6604DA@waterford.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox