array_in sub function ReadArrayDimensions error message - Mailing list pgsql-hackers

From jian he
Subject array_in sub function ReadArrayDimensions error message
Date
Msg-id CACJufxExAcpvrkbLGrZGdZ=bFAuj7OVp1mOhk+fsBzeUbOGuHQ@mail.gmail.com
Whole thread Raw
Responses Re: array_in sub function ReadArrayDimensions error message
List pgsql-hackers
while reviewing the json query doc,
I found out the following error message was not quite right.

select '[1,2]'::int[];
ERROR:  malformed array literal: "[1,2]"
LINE 1: select '[1,2]'::int[];
               ^
DETAIL:  Missing "]" after array dimensions.
should it be:
"Missing delimiter ":" while specifying array dimensions."
?
Because here, the first problem is the comma should be colon.


also
"DETAIL:  Missing "]" after array dimensions."
should be
DETAIL:  Missing "]" while specifying array dimensions.
?



pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: tests fail on windows with default git settings
Next
From: Matthias van de Meent
Date:
Subject: Re: Thoughts on NBASE=100000000