- _+=`K$5TI|4I0-=Cp%pt~L#QYydO'iBXR~\tT?uftep9n9AF`@SzTwsw6uqJ}pL,h(cZi}T#PB"#!k
- p^e=Z.K~fuw$l?]lUV)?R]U}l;f*~Ol)#fpKR)Yt}XOr6BI\_Jjr0!@GMnpCTnTym4f;c{;Ms=0{`D
- Lq9MO6{wj%s-*N"G,g
-Subject: [HACKERS] Failures with arrays
-Mime-Version: 1.0
-Content-Type: text/plain; charset=us-ascii
-Date: Wed, 25 Nov 1998 23:48:51 +0000
-Precedence: bulk
-Status: ROr
-
-This was reported as a bug with the Debian package of 6.3.2; the same
-behaviour is still present in 6.4.
-
-bray=> create table foo ( t text[]);
-CREATE
-bray=> insert into foo values ( '{"a"}');
-INSERT 201354 1
-bray=> insert into foo values ( '{"a","b"}');
-INSERT 201355 1
-bray=> insert into foo values ( '{"a","b","c"}');
-INSERT 201356 1
-bray=> select * from foo;
-t
--------------
-{"a"}
-{"a","b"}
-{"a","b","c"}
-(3 rows)
-
-bray=> select t[1] from foo;
-ERROR: type name lookup of t failed
-bray=> select * from foo;
-t
--------------
-{"a"}
-{"a","b"}
-{"a","b","c"}
-(3 rows)
-
-bray=> select foo.t[1] from foo;
-t
--
-a
-a
-a
-(3 rows)
-
-bray=> select count(foo.t[1]) from foo;
-pqReadData() -- backend closed the channel unexpectedly.
-
---
-Isle of Wight http://www.lfix.co.uk/oliver
- PGP key from public servers; key ID 32B8FAA1
- ========================================
- "Let us therefore come boldly unto the throne of grace,
- that we may obtain mercy, and find grace to help in
- time of need." Hebrews 4:16
-
-
-
-