Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aBLBE-0006Ok-6R for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Dec 2015 11:32:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aBLBD-0001QM-82 for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Dec 2015 11:32:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aBL9u-0008P5-0X for pgsql-hackers@postgresql.org; Tue, 22 Dec 2015 11:31:14 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aBL9r-0002Q9-3J for pgsql-hackers@postgresql.org; Tue, 22 Dec 2015 11:31:13 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id D1CB321C51A5; Tue, 22 Dec 2015 14:31:09 +0300 (MSK) Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yNxbwtzZMqtL; Tue, 22 Dec 2015 14:31:08 +0300 (MSK) Received: from localhost (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id 75C9821C51A4; Tue, 22 Dec 2015 14:31:08 +0300 (MSK) From: Uriy Zhuravlev To: Tom Lane Cc: Subject: Re: Some questions about the array. Date: Tue, 22 Dec 2015 14:29:00 +0300 MIME-Version: 1.0 Message-ID: In-Reply-To: <2853.1450718923@sss.pgh.pa.us> References: <2987745.PueTkqGxbO@dinodell> <1538864.xaPm21N10Q@dinodell> <56619AB0.2070802@sigaev.ru> <2723429.ZaCixaFn1x@dinodell> <6ac195fe-b835-4d2d-8edc-11db52118cbf@postgrespro.ru> <2853.1450718923@sss.pgh.pa.us> Organization: postgrespro User-Agent: Trojita/v0.5-132-gefa30f3; Qt/5.5.1; xcb; Linux; Gentoo Base System release 2.2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On =D0=BF=D0=BE=D0=BD=D0=B5=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA, 21 = =D0=B4=D0=B5=D0=BA=D0=B0=D0=B1=D1=80=D1=8F 2015 =D0=B3. 20:28:43 MSK, Tom L= ane wrote: > With is_slice false, the only valid > case is lidx=3D=3DNULL, uidx!=3DNULL, as before for non-slice notation. But now it becomes valid syntax: select ('{1,2,3,4}'::int[])[NULL:NULL]; I do not think it's logical. Especially if in [:] function is used. Unexpected behavior.=20 Thanks.=20 --=20 Uriy Zhuravlev Postgres Professional: http://www.postgrespro.com The Russian Postgres Company --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers