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

From Tom Lane
Subject Re: AW: [HACKERS] Re: Regress tests reveal *serious* psql bug
Date
Msg-id 12949.947781632@sss.pgh.pa.us
Whole thread Raw
In response to AW: [HACKERS] Re: Regress tests reveal *serious* psql bug  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
> Why was the ":" used in the first place ? I would expect to use a ','
> for an array slice. No ?

I'd think a comma is a separator between subscripts for different
dimensions, ie, a[1,2] would be equivalent to a[1][2].  It'd
certainly surprise *me* if it were interpreted as a slice indicator.

In any case, we're stuck with the notation now, I fear.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] FETCH without FROM/IN
Next
From: Adriaan Joubert
Date:
Subject: Re: AW: [HACKERS] Re: Regress tests reveal *serious* psql bug