AW: [HACKERS] Re: Regress tests reveal *serious* psql bug

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: [HACKERS] Re: Regress tests reveal *serious* psql bug
Дата
Msg-id 219F68D65015D011A8E000006F8590C603FDC200@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: [HACKERS] Re: Regress tests reveal *serious* psql bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> SELECT arrtest.a[1:3],
>           arrtest.b[1:1][1:2][1:2],
>           arrtest.c[1:2], 
>           arrtest.d[1:1][1:2]
>    FROM arrtest;

Sorry for the stupid question, but can sombody enlighten me.
Why was the ":" used in the first place ? I would expect to use a ','
for an array slice. No ?

As in: select arrtest.a[1,1][1,2]
(This is also what others use for array slices)

Andreas


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

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: [HACKERS] Re: Regress tests reveal *serious* psql bug
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: [HACKERS] Informix and OUTER join syntax