Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvmnP-0004xx-CI for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Nov 2015 13:47:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZvmnO-0006A1-Lu for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Nov 2015 13:47:42 +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 1Zvmm6-0004iO-Pt for pgsql-hackers@postgresql.org; Mon, 09 Nov 2015 13:46:22 +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 1Zvmm3-0004Ba-Lk for pgsql-hackers@postgresql.org; Mon, 09 Nov 2015 13:46:22 +0000 Received: from dinodell.localnet (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id 0B2A621C40DD for ; Mon, 9 Nov 2015 16:46:18 +0300 (MSK) From: YUriy Zhuravlev To: pgsql-hackers@postgresql.org Subject: Re: Some questions about the array. Date: Mon, 09 Nov 2015 16:44:45 +0300 Message-ID: <9363628.XUapNgKFIU@dinodell> Organization: postgrespro User-Agent: KMail/4.14.10 (Linux/4.2.2-gentoo; KDE/4.14.13; x86_64; ; ) In-Reply-To: References: <2987745.PueTkqGxbO@dinodell> <2331905.HYd2PcNOc4@dinodell> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Pg-Spam-Score: -2.2 (--) 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 09 November 2015 13:50:20 Pavel Stehule wrote: > New symbols increase a complexity of our code and our documentation. > > If some functionality can be implemented via functions without performance > impacts, we should not to create new operators or syntax - mainly for > corner use cases. > > Regards > > Pavel Ok we can use {:} instead [:] for zero array access. The function is the solution half. -- 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