| From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> | 
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org | 
| Subject: | pgsql: Allow to omit boundaries in array subscript | 
| Date: | 2015-12-18 12:21:27 | 
| Message-ID: | E1a9u2J-00054Q-Qk@gemulon.postgresql.org | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephen Frost | 2015-12-18 16:40:35 | Re: [COMMITTERS] pgsql: Handle policies during DROP OWNED BY | 
| Previous Message | Teodor Sigaev | 2015-12-18 11:42:17 | pgsql: Cube extension kNN support |