Skip to content

Commit 957e6a6

Browse files
committed
Add TODO detail directory.
1 parent 7559677 commit 957e6a6

File tree

19 files changed

+12082
-0
lines changed

19 files changed

+12082
-0
lines changed

doc/TODO.detail/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
These files are in standard Unix mailbox format, and are detail
2+
information related to the TODO list.

doc/TODO.detail/alpha

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
From owner-pgsql-hackers@hub.org Fri May 14 16:00:46 1999
2+
Received: from renoir.op.net (root@renoir.op.net [209.152.193.4])
3+
by candle.pha.pa.us (8.9.0/8.9.0) with ESMTP id QAA02173
4+
for <maillist@candle.pha.pa.us>; Fri, 14 May 1999 16:00:44 -0400 (EDT)
5+
Received: from hub.org (hub.org [209.167.229.1]) by renoir.op.net (o1/$Revision: 1.1 $) with ESMTP id QAA02824 for <maillist@candle.pha.pa.us>; Fri, 14 May 1999 16:00:45 -0400 (EDT)
6+
Received: from hub.org (hub.org [209.167.229.1])
7+
by hub.org (8.9.3/8.9.3) with ESMTP id PAA47798;
8+
Fri, 14 May 1999 15:57:54 -0400 (EDT)
9+
(envelope-from owner-pgsql-hackers@hub.org)
10+
Received: by hub.org (TLB v0.10a (1.23 tibbs 1997/01/09 00:29:32)); Fri, 14 May 1999 15:54:30 +0000 (EDT)
11+
Received: (from majordom@localhost)
12+
by hub.org (8.9.3/8.9.3) id PAA47191
13+
for pgsql-hackers-outgoing; Fri, 14 May 1999 15:54:28 -0400 (EDT)
14+
(envelope-from owner-pgsql-hackers@postgreSQL.org)
15+
Received: from thelab.hub.org (nat194.147.mpoweredpc.net [142.177.194.147])
16+
by hub.org (8.9.3/8.9.3) with ESMTP id PAA46457
17+
for <pgsql-hackers@postgresql.org>; Fri, 14 May 1999 15:49:35 -0400 (EDT)
18+
(envelope-from scrappy@hub.org)
19+
Received: from localhost (scrappy@localhost)
20+
by thelab.hub.org (8.9.3/8.9.1) with ESMTP id QAA16128;
21+
Fri, 14 May 1999 16:49:44 -0300 (ADT)
22+
(envelope-from scrappy@hub.org)
23+
X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs
24+
Date: Fri, 14 May 1999 16:49:44 -0300 (ADT)
25+
From: The Hermit Hacker <scrappy@hub.org>
26+
To: pgsql-hackers@postgreSQL.org
27+
cc: Jack Howarth <howarth@nitro.med.uc.edu>
28+
Subject: [HACKERS] postgresql bug report (fwd)
29+
Message-ID: <Pine.BSF.4.05.9905141649150.47191-100000@thelab.hub.org>
30+
MIME-Version: 1.0
31+
Content-Type: TEXT/PLAIN; charset=US-ASCII
32+
Sender: owner-pgsql-hackers@postgreSQL.org
33+
Precedence: bulk
34+
Status: ROr
35+
36+
37+
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
38+
Systems Administrator @ hub.org
39+
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
40+
41+
---------- Forwarded message ----------
42+
Date: Fri, 14 May 1999 14:50:58 -0400
43+
From: Jack Howarth <howarth@nitro.med.uc.edu>
44+
To: scrappy@hub.org
45+
Subject: postgresql bug report
46+
47+
Marc,
48+
In porting the RedHat 6.0 srpm set for a linuxppc release we
49+
believe a bug has been identified in
50+
the postgresql source for 6.5-0.beta1. Our development tools are as
51+
follows...
52+
53+
glibc 2.1.1 pre 2
54+
linux 2.2.6
55+
egcs 1.1.2
56+
the latest binutils snapshot
57+
58+
The bug that we see is that when egcs compiles postgresql at -O1 or
59+
higher (-O0 is fine),
60+
postgresql creates incorrectly formed databases such that when the user
61+
does a destroydb
62+
the database can not be destroyed. Franz Sirl has identified the problem
63+
as follows...
64+
65+
it seems that this problem is a type casting/promotion bug in the
66+
source. The
67+
routine _bt_checkkeys() in backend/access/nbtree/nbtutils.c calls
68+
int2eq() in
69+
backend/utils/adt/int.c via a function pointer
70+
*fmgr_faddr(&key[0].sk_func). As
71+
the type information for int2eq is lost via the function pointer,
72+
the compiler
73+
passes 2 ints, but int2eq expects 2 (preformatted in a 32bit reg)
74+
int16's.
75+
This particular bug goes away, if I for example change int2eq to:
76+
77+
bool
78+
int2eq(int32 arg1, int32 arg2)
79+
{
80+
return (int16)arg1 == (int16)arg2;
81+
}
82+
83+
This moves away the type casting/promotion "work" from caller to the
84+
callee and
85+
is probably the right thing to do for functions used via function
86+
pointers.
87+
88+
...because of the large number of changes required to do this, Franz
89+
thought we should
90+
pass this on to the postgresql maintainers for correction. Please feel
91+
free to contact
92+
Franz Sirl (Franz.Sirl-kernel@lauterbach.com) if you have any questions
93+
on this bug
94+
report.
95+
96+
--
97+
------------------------------------------------------------------------------
98+
Jack W. Howarth, Ph.D. 231 Bethesda Avenue
99+
NMR Facility Director Cincinnati, Ohio 45267-0524
100+
Dept. of Molecular Genetics phone: (513) 558-4420
101+
Univ. of Cincinnati College of Medicine fax: (513) 558-8474
102+
103+
104+
105+
106+
107+

doc/TODO.detail/arrays

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
From owner-pgsql-hackers@hub.org Wed Nov 25 19:01:02 1998
2+
Received: from renoir.op.net (root@renoir.op.net [209.152.193.4])
3+
by candle.pha.pa.us (8.9.0/8.9.0) with ESMTP id TAA16399
4+
for <maillist@candle.pha.pa.us>; Wed, 25 Nov 1998 19:01:01 -0500 (EST)
5+
Received: from hub.org (majordom@hub.org [209.47.148.200]) by renoir.op.net (o1/$Revision: 1.1 $) with ESMTP id SAA05250 for <maillist@candle.pha.pa.us>; Wed, 25 Nov 1998 18:53:12 -0500 (EST)
6+
Received: from localhost (majordom@localhost)
7+
by hub.org (8.9.1/8.9.1) with SMTP id SAA17798;
8+
Wed, 25 Nov 1998 18:49:38 -0500 (EST)
9+
(envelope-from owner-pgsql-hackers@hub.org)
10+
Received: by hub.org (TLB v0.10a (1.23 tibbs 1997/01/09 00:29:32)); Wed, 25 Nov 1998 18:49:07 +0000 (EST)
11+
Received: (from majordom@localhost)
12+
by hub.org (8.9.1/8.9.1) id SAA17697
13+
for pgsql-hackers-outgoing; Wed, 25 Nov 1998 18:49:06 -0500 (EST)
14+
(envelope-from owner-pgsql-hackers@postgreSQL.org)
15+
Received: from mail.enterprise.net (root@mail.enterprise.net [194.72.192.18])
16+
by hub.org (8.9.1/8.9.1) with ESMTP id SAA17650;
17+
Wed, 25 Nov 1998 18:48:55 -0500 (EST)
18+
(envelope-from olly@lfix.co.uk)
19+
Received: from linda.lfix.co.uk (root@max01-040.enterprise.net [194.72.197.40])
20+
by mail.enterprise.net (8.8.5/8.8.5) with ESMTP id XAA20539;
21+
Wed, 25 Nov 1998 23:48:52 GMT
22+
Received: from linda.lfix.co.uk (olly@localhost [127.0.0.1])
23+
by linda.lfix.co.uk (8.9.1a/8.9.1/Debian/GNU) with ESMTP id XAA12089;
24+
Wed, 25 Nov 1998 23:48:52 GMT
25+
Message-Id: <199811252348.XAA12089@linda.lfix.co.uk>
26+
X-Mailer: exmh version 2.0.2 2/24/98 (debian)
27+
X-URL: http://www.lfix.co.uk/oliver
28+
X-face: "xUFVDj+ZJtL_IbURmI}!~xAyPC"Mrk=MkAm&tPQnNq(FWxv49R}\>0oI8VM?O2VY+N7@F-
29+
KMLl*!h}B)u@TW|B}6<X<J|}QsVlTi:RA:O7Abc(@D2Y/"J\S,b1!<&<B/J}b.Ii9@B]H6V!+#sE0Q
30+
_+=`K$5TI|4I0-=Cp%pt~L#QYydO'iBXR~\tT?uftep9n9AF`@SzTwsw6uqJ}pL,h(cZi}T#PB"#!k
31+
p^e=Z.K~fuw$l?]lUV)?R]U}l;f*~Ol)#fpKR)Yt}XOr6BI\_Jjr0!@GMnpCTnTym4f;c{;Ms=0{`D
32+
Lq9MO6{wj%s-*N"G,g
33+
To: bugs@postgreSQL.org, hackers@postgreSQL.org
34+
Subject: [HACKERS] Failures with arrays
35+
Mime-Version: 1.0
36+
Content-Type: text/plain; charset=us-ascii
37+
Date: Wed, 25 Nov 1998 23:48:51 +0000
38+
From: "Oliver Elphick" <olly@lfix.co.uk>
39+
Sender: owner-pgsql-hackers@postgreSQL.org
40+
Precedence: bulk
41+
Status: ROr
42+
43+
This was reported as a bug with the Debian package of 6.3.2; the same
44+
behaviour is still present in 6.4.
45+
46+
bray=> create table foo ( t text[]);
47+
CREATE
48+
bray=> insert into foo values ( '{"a"}');
49+
INSERT 201354 1
50+
bray=> insert into foo values ( '{"a","b"}');
51+
INSERT 201355 1
52+
bray=> insert into foo values ( '{"a","b","c"}');
53+
INSERT 201356 1
54+
bray=> select * from foo;
55+
t
56+
-------------
57+
{"a"}
58+
{"a","b"}
59+
{"a","b","c"}
60+
(3 rows)
61+
62+
bray=> select t[1] from foo;
63+
ERROR: type name lookup of t failed
64+
bray=> select * from foo;
65+
t
66+
-------------
67+
{"a"}
68+
{"a","b"}
69+
{"a","b","c"}
70+
(3 rows)
71+
72+
bray=> select foo.t[1] from foo;
73+
t
74+
-
75+
a
76+
a
77+
a
78+
(3 rows)
79+
80+
bray=> select count(foo.t[1]) from foo;
81+
pqReadData() -- backend closed the channel unexpectedly.
82+
83+
--
84+
Oliver Elphick Oliver.Elphick@lfix.co.uk
85+
Isle of Wight http://www.lfix.co.uk/oliver
86+
PGP key from public servers; key ID 32B8FAA1
87+
========================================
88+
"Let us therefore come boldly unto the throne of grace,
89+
that we may obtain mercy, and find grace to help in
90+
time of need." Hebrews 4:16
91+
92+
93+
94+

0 commit comments

Comments
 (0)