Re: upper() problem in 7.0.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher L(dot) Cousins" <chris-pgsql-bugs(at)cobalt(dot)impulse(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: upper() problem in 7.0.2
Date: 2000-07-06 22:19:38
Message-ID: 2168.962921978@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Christopher L. Cousins" <chris-pgsql-bugs(at)cobalt(dot)impulse(dot)net> writes:
>> This bug has probably been there all along, but it'd be pretty
>> low-probability under most circumstances.

> FYI, either postgres 6.3.2 did not have this problem or what I am doing did
> not trigger it in 6.3.2 (I recently upgraded from 6.3.2 to 7.0.2).

The bug is clearly there in 6.3 sources, but it could only fail if
LIKE's input data happened to have been allocated smack up against the
end of application memory. Probably, this has been made more likely by
unrelated changes to our memory management code --- at least, it's more
likely than before for the specific usage pattern embodied in your
example.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2000-07-07 01:23:28 Re: [PATCHES] Patch for Linux-IA64
Previous Message Christopher L. Cousins 2000-07-06 22:03:40 Re: upper() problem in 7.0.2