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

From YUriy Zhuravlev
Subject Re: Some questions about the array.
Date
Msg-id 3236232.FSDW0sV0Jy@dinodell
Whole thread Raw
In response to Re: Some questions about the array.  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Some questions about the array.
Re: Some questions about the array.
List pgsql-hackers
On Monday 09 November 2015 12:48:54 you wrote:
> I am sorry - it is looking pretty obscure. Really need this feature?

IMHO yes.
Now for write: array[~2:~-2] you need like:
array[array_lower(array, 1)+3: array_upper(array, 1)-2]

Worse when long names. Besides the extra functions calls.

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



pgsql-hackers by date:

Previous
From: Kouhei Kaigai
Date:
Subject: Re: Foreign join pushdown vs EvalPlanQual
Next
From: Marc Mamin
Date:
Subject: Re: Some questions about the array.