Select from array slices doesn't work

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Select from array slices doesn't work
Дата
Msg-id 200009071556.e87FuUL55499@hub.org
обсуждение исходный текст
Ответы Re: Select from array slices doesn't work  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Kuba Ober (winnie@mika.fr.eu.org) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Select from array slices doesn't work

Long Description
When I try to select from array slices it gives strange qrPgSql error. Normal array indexing works, but slices don't.

Sample Code
> create table temp (arr varchar(20)[])
OK
> select arr[1:2] from temp
Error: qrPgSql: Parameter '2' not found
> select arr[1] from temp
OK

No file was uploaded with this report

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: bug in date_part() function in 6.5.2, 7.0.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in date_part() function in 6.5.2, 7.0.2