Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group