Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a9yJD-0000fn-77 for pgsql-committers@arkaria.postgresql.org; Fri, 18 Dec 2015 16:55:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a9yJC-0008KT-MY for pgsql-committers@arkaria.postgresql.org; Fri, 18 Dec 2015 16:55:10 +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 1a9yJ0-00085y-DA for pgsql-committers@postgresql.org; Fri, 18 Dec 2015 16:54:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a9yIx-0000py-QD for pgsql-committers@postgresql.org; Fri, 18 Dec 2015 16:54:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tBIGsrc3019145; Fri, 18 Dec 2015 11:54:53 -0500 From: Tom Lane To: Teodor Sigaev cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Allow to omit boundaries in array subscript In-reply-to: References: Comments: In-reply-to Teodor Sigaev message dated "Fri, 18 Dec 2015 12:21:27 +0000" Date: Fri, 18 Dec 2015 11:54:53 -0500 Message-ID: <19144.1450457693@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Teodor Sigaev writes: > Allow to omit boundaries in array subscript For the record, this patch wasn't nearly ready to commit. * User-facing documentation is very poor; at the least it needs copy-editing by someone with better command of English. * Comments are next to nonexistent. I note for example that the description of struct A_Indices wasn't updated, much less that of ArrayRef. * Some error messages aren't meeting the style guidelines. * I'm dubious that the parsetree representation is well-chosen. Probably a single is_slice flag would have been better. * Dumps core on fixed-length arrays, eg regression=# select f1[1:] from point_tbl; server closed the connection unexpectedly I think it should be reverted and sent back for another round of review. If not, I'll probably spend tomorrow cleaning it up, but I really have other things I should be doing. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers