BUG #14441: trim function bug (hit a keyword somewhere internally)

From: mark(dot)pether(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14441: trim function bug (hit a keyword somewhere internally)
Date: 2016-11-30 01:17:10
Message-ID: 20161130011710.6539.53657@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14441
Logged by: mark pether
Email address: mark(dot)pether(at)gmail(dot)com
PostgreSQL version: 9.5.4
Operating system: macos
Description:

select TRIM(LEADING 'EXCLUDE' FROM 'C001');

Will incorrectly strip off the 'C' leaving '001'.

select TRIM(LEADING 'exclude' FROM 'C001');

Will not strip trim anything as expected.

Cheers

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Gould 2016-11-30 06:09:32 Re: BUG #14441: trim function bug (hit a keyword somewhere internally)
Previous Message Tom Lane 2016-11-30 00:46:27 Re: BUG #14440: Error starting postgres