From: Tom Lane <tgl@sss.pgh.pa.us>
To: Teodor Sigaev <teodor@sigaev.ru>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Allow to omit boundaries in array subscript
Date: Fri, 18 Dec 2015 11:54:53 -0500
Message-ID: <19144.1450457693@sss.pgh.pa.us> (raw)
In-Reply-To: <E1a9u2J-00054Q-Qk@gemulon.postgresql.org>
References: <E1a9u2J-00054Q-Qk@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Teodor Sigaev <teodor@sigaev.ru> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, teodor@sigaev.ru
Subject: Re: pgsql: Allow to omit boundaries in array subscript
In-Reply-To: <19144.1450457693@sss.pgh.pa.us>
References: <E1a9u2J-00054Q-Qk@gemulon.postgresql.org> <19144.1450457693@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox