trim(both) problem?

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: trim(both) problem?
Date: 2008-04-25 20:33:49
Message-ID: 4812402D.7080404@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

Isn't this a bug about trim both.

select trim(both '<BR/>' from '<BR/>ROI Engineering Inc.');
btrim
---------------------
OI Engineering Inc.
(1 row)

"R" is missing? How?

version
-------------------------------------------------------------------------
PostgreSQL 8.0.15 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.2

Thank you!

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2008-04-25 20:44:30 Re: trim(both) problem?
Previous Message Nacef LABIDI 2008-04-24 16:39:06 Re: First day of month, last day of month