Re: Some questions about the array.

From: Uriy Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Some questions about the array.
Date: 2015-12-22 11:29:00
Message-ID: bfc00a3c-529f-4d1a-895f-388885144d62@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-12-22 12:32:57 Re: Minor code improvements to create_foreignscan_plan/ExecInitForeignScan
Previous Message Craig Ringer 2015-12-22 09:55:52 Re: pglogical_output - a general purpose logical decoding output plugin