Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a3VgI-0001pG-12 for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Nov 2015 21:08:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a3VgH-0004Yz-Jq for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Nov 2015 21:08:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a3Vey-00035q-5o for pgsql-hackers@postgresql.org; Mon, 30 Nov 2015 21:06:56 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1a3Vev-00011q-3N for pgsql-hackers@postgresql.org; Mon, 30 Nov 2015 21:06:55 +0000 Received: from dinodell.localnet (0894949280.static.corbina.ru [78.107.237.198]) by mail.postgrespro.ru (Postfix) with ESMTPSA id 0B01A21C484F for ; Tue, 1 Dec 2015 00:06:51 +0300 (MSK) From: YUriy Zhuravlev To: pgsql-hackers@postgresql.org Subject: Re: Some questions about the array. Date: Tue, 01 Dec 2015 00:05:03 +0300 Message-ID: <1472067.fi1tp3hRCJ@dinodell> Organization: postgrespro User-Agent: KMail/4.14.10 (Linux/4.3.0-gentoo; KDE/4.14.14; x86_64; ; ) In-Reply-To: References: <2987745.PueTkqGxbO@dinodell> <5656F63A.70703@sigaev.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 Monday 30 November 2015 08:58:49 you wrote: > +1 IMO this line of thinking is a dead end. Better handled via > functions, not syntax Maybe then add array_pyslice(start, end) when start is 0 and with negative indexes? Only for 1D array. What do you think? -- YUriy 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