Skip site navigation (1) Skip section navigation (2)

Re: Select from array slices doesn't work

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: winnie(at)HOTH(dot)AMU(dot)EDU(dot)PL, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Select from array slices doesn't work
Date: 2000-09-08 00:23:49
Message-ID: 15740.968372629@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
pgsql-bugs(at)postgresql(dot)org writes:
>> select arr[1:2] from temp
> Error: qrPgSql: Parameter '2' not found

What client frontend are you using?  It looks like the frontend is
trying to interpret :2 as a parameter.  I seem to recall that
psql had such a bug for a while during 7.0 development, but I
don't think it was in any release version.

BTW, I can't find any occurrence of such an error string in current
sources ...

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Thomas LockhartDate: 2000-09-08 05:51:00
Subject: Re: bug in date_part() function in 6.5.2, 7.0.2
Previous:From: Tom LaneDate: 2000-09-07 23:51:15
Subject: Re: bug in date_part() function in 6.5.2, 7.0.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group