AW: [HACKERS] Re: Regress tests reveal *serious* psql bug - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: [HACKERS] Re: Regress tests reveal *serious* psql bug
Date
Msg-id 219F68D65015D011A8E000006F8590C603FDC200@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
Responses Re: AW: [HACKERS] Re: Regress tests reveal *serious* psql bug
List 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 by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: [HACKERS] Re: Regress tests reveal *serious* psql bug
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: [HACKERS] Informix and OUTER join syntax