Re: Some questions about the array. - Mailing list pgsql-hackers

From YUriy Zhuravlev
Subject Re: Some questions about the array.
Date
Msg-id 1538864.xaPm21N10Q@dinodell
Whole thread Raw
In response to Re: Some questions about the array.  (YUriy Zhuravlev <u.zhuravlev@postgrespro.ru>)
Responses Re: Some questions about the array.  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
On Tuesday 01 December 2015 15:43:47 you wrote:
> On Tuesday 01 December 2015 15:30:47 Teodor Sigaev wrote:
> > As I understand, update should fail with any array, so, first update
> > should
> > fail  too. Am I right?
>
> You right. Done. New patch in attach.

Found error when omitted lower bound in INSERT like this:
INSERT INTO arrtest_s (a[:2], b[1:2]) VALUES ('{1,2,3,4,5}', '{7,8,9}');

I fix it in new patch.  Lower bound for new array is 1 by default.

Thanks.
--
YUriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Attachment

pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Some questions about the array.
Next
From: YUriy Zhuravlev
Date:
Subject: Re: Some questions about the array.