From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] threads stuff/UnixWare |
Date: | 2004-05-14 01:42:26 |
Message-ID: | A800C8DA27DF004D37D33484@lerlaptop.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
--On Thursday, May 13, 2004 21:35:43 -0400 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
wrote:
> Larry Rosenman <ler(at)lerctr(dot)org> writes:
>>> Where does it leave the "ptr" pointing to?
>
>> $ ./test3
>> ptr=8049682, points to N
>> ptr=8049686, points to f
>
> Indeed, they found an original new way to get it wrong. Please point
> out to them that the ptr is supposed to be advanced *past* the input.
> Not to the last character of the input.
Reported to my SCO contacts. However, I guarantee this won't be fixed in
7.1.4 (the next release), as it just went Gold.
Also, I suspect 7.1.3 and below have the bug, and are prevalent.
And, I just proved it on my 7.1.2 (AKA OpenUNIX 8.0.0) system:
$ cc -O -o test3 test3.c
$ ./test3
num=nan
errno=0
ptr=8049682, points to N
num=inf
errno=0
ptr=8049686, points to f
$ uname -a
OpenUNIX lerlsof 5 8.0.0 i386 x86at Caldera UNIX_SVR5
$
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2004-05-14 01:49:59 | Re: Subtle pg_dump problem... |
Previous Message | Tom Lane | 2004-05-14 01:35:43 | Re: [HACKERS] threads stuff/UnixWare |
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2004-05-14 03:14:51 | Dollar quoting patch |
Previous Message | Tom Lane | 2004-05-14 01:35:43 | Re: [HACKERS] threads stuff/UnixWare |