2009/6/23 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Brendan Jurd <direvus(at)gmail(dot)com> writes:
>> I should be able to get the same results by snipping an extra
>> strspace_len() characters in the new code path in
>> from_char_parse_int_len(). This ought to be a one-line fix that
>> doesn't clobber the good parts of my work so far. I'll run some tests
>> and then post a patch within the hour. Does that work for you?
[cross-posting to -hackers]
Here's a one-line patch to fix a regression in the new from_char code
I introduced into 8.4.
Versions <= 8.3 skipped over any whitespace immediately preceding any
integer field, and this behaviour was lost in HEAD when my from_char
patch was committed back in September '08 .
Fortunately, since the code has been refactored, this now only needs
to be repaired in one place =)
With thanks to Jeremy Ford for sending in his bug report, and an
abject mea culpa.
In response to
pgsql-hackers by date
|Next:||From: Dimitri Fontaine||Date: 2009-06-22 17:37:04|
|Subject: Re: 8.4 open item: copy performance regression? |
|Previous:||From: David Fetter||Date: 2009-06-22 17:08:15|
|Subject: Re: security checks for largeobjects?|
pgsql-bugs by date
|Next:||From: Magnus Hagander||Date: 2009-06-22 17:34:04|
|Subject: Re: BUG #4869: No proper initialization of OpenSSL-Engine
|Previous:||From: Lars Kanis||Date: 2009-06-22 16:50:17|
|Subject: Re: BUG #4869: No proper initialization of OpenSSL-Engine in libpq|