pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow to omit boundaries in array subscript
Date: Fri, 18 Dec 2015 12:21:27 +0000
Message-ID: <E1a9u2J-00054Q-Qk@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Allow to omit boundaries in array subscript

Allow to omiy lower or upper or both boundaries in array subscript
for selecting slice of array.

Author: YUriy Zhuravlev

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9246af6799819847faa33baf441251003acbb8fe

Modified Files
--------------
doc/src/sgml/array.sgml              |   20 ++++++++++++++
src/backend/executor/execQual.c      |   44 +++++++++++++++++++++++-------
src/backend/nodes/copyfuncs.c        |    2 ++
src/backend/nodes/equalfuncs.c       |    2 ++
src/backend/nodes/outfuncs.c         |    2 ++
src/backend/parser/gram.y            |   31 +++++++++++++++++++++
src/backend/parser/parse_node.c      |   49 ++++++++++++++++++++++------------
src/backend/parser/parse_target.c    |    2 +-
src/include/nodes/parsenodes.h       |    2 ++
src/test/regress/expected/arrays.out |   40 +++++++++++++++++++++++++++
src/test/regress/output/misc.source  |    3 ++-
src/test/regress/sql/arrays.sql      |   15 +++++++++++
12 files changed, 184 insertions(+), 28 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (3+ messages)  latest in thread

Message-ID: <E1a9u2J-00054Q-Qk@gemulon.postgresql.org>
Permalink:  ../E1a9u2J-00054Q-Qk@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1a9u2J-00054Q-Qk@gemulon.postgresql.org

 · 

reply

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: teodor@sigaev.ru
  Subject: Re: pgsql: Allow to omit boundaries in array subscript
  In-Reply-To: <E1a9u2J-00054Q-Qk@gemulon.postgresql.org>
  References: <E1a9u2J-00054Q-Qk@gemulon.postgresql.org>

* 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