pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Uriy Zhuravlev <u.zhuravlev@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Some questions about the array.
Date: Tue, 22 Dec 2015 14:29:00 +0300
Message-ID: <bfc00a3c-529f-4d1a-895f-388885144d62@postgrespro.ru> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On понедельник, 21 декабря 2015 г. 20:28:43 MSK, Tom Lane wrote:
> With is_slice false, the only valid
> case is lidx==NULL, uidx!=NULL, 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. 

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (56+ messages)  latest in thread

Message-ID: <bfc00a3c-529f-4d1a-895f-388885144d62@postgrespro.ru>
Permalink:  ../bfc00a3c-529f-4d1a-895f-388885144d62@postgrespro.ru/
Also on:    postgresql.org/message-id/bfc00a3c-529f-4d1a-895f-388885144d62@postgrespro.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: u.zhuravlev@postgrespro.ru, tgl@sss.pgh.pa.us
  Subject: Re: Some questions about the array.
  In-Reply-To: <bfc00a3c-529f-4d1a-895f-388885144d62@postgrespro.ru>
  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> <bfc00a3c-529f-4d1a-895f-388885144d62@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox