Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a1vLk-0002VC-5q for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Nov 2015 12:08:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a1vLj-0005sJ-Nq for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Nov 2015 12:08:31 +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 1a1vLi-0005s3-VF for pgsql-hackers@postgresql.org; Thu, 26 Nov 2015 12:08:31 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a1vLg-0003j8-E5 for pgsql-hackers@postgresql.org; Thu, 26 Nov 2015 12:08:29 +0000 Received: from xor.sai.msu.ru (newmail.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 76B80B1918A; Thu, 26 Nov 2015 15:08:26 +0300 (MSK) Message-ID: <5656F63A.70703@sigaev.ru> Date: Thu, 26 Nov 2015 15:08:26 +0300 From: Teodor Sigaev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: YUriy Zhuravlev , pgsql-hackers@postgresql.org Subject: Re: Some questions about the array. References: <2987745.PueTkqGxbO@dinodell> <11698949.1JnYGozjkR@dinodell> In-Reply-To: <11698949.1JnYGozjkR@dinodell> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.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 YUriy Zhuravlev wrote: > On Friday 06 November 2015 12:55:44 you wrote: >> Omitted bounds are common in other languages and would be handy. I >> don't think they'd cause any issues with multi-dimensional arrays or >> variable start-pos arrays. > > And yet, what about my patch? My vote: let us do it, mean, omitting bounds. It simplifies syntax in rather popular queries. > Discussions about ~ and{:} it seems optional. ~ is allowed as unary operator and therefore such syntax will introduce incompatibily/ambiguity. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers