Re: rtrim giving weird result - Mailing list pgsql-hackers

From Tom Lane
Subject Re: rtrim giving weird result
Date
Msg-id 12557.984629456@sss.pgh.pa.us
Whole thread Raw
In response to rtrim giving weird result  ("G. Anthony Reina" <reina@nsi.edu>)
List pgsql-hackers
"G. Anthony Reina" <reina@nsi.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


pgsql-hackers by date:

Previous
From: "G. Anthony Reina"
Date:
Subject: rtrim giving weird result
Next
From: "Jae-Woong Hwnag"
Date:
Subject: Union on view and..