Re: rtrim giving weird result

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
Cc: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: rtrim giving weird result
Date: 2001-03-15 04:10:56
Message-ID: 12557.984629456@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"G. Anthony Reina" <reina(at)nsi(dot)edu> writes:
> I'm running Postgres 7.0.3 on a RedHat Linux 6.1. For some reason, rtrim
> is giving me an incorrect result:

No, you have an incorrect understanding of rtrim. The second argument
is a set of removable characters, not a string to be matched.

AFAIK we are following Oracle in defining it that way ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jae-Woong Hwnag 2001-03-15 04:53:02 Union on view and..
Previous Message Ken Hirsch 2001-03-15 03:36:29 Re: rtrim giving weird result