Allow to omit boundaries in array subscript
Teodor Sigaev <teodor@sigaev.ru>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/array.sgml | modified | +20 −0 |
| src/backend/executor/execQual.c | modified | +35 −9 |
| src/backend/nodes/copyfuncs.c | modified | +2 −0 |
| src/backend/nodes/equalfuncs.c | modified | +2 −0 |
| src/backend/nodes/outfuncs.c | modified | +2 −0 |
| src/backend/parser/gram.y | modified | +31 −0 |
| src/backend/parser/parse_node.c | modified | +32 −17 |
| src/backend/parser/parse_target.c | modified | +1 −1 |
| src/include/nodes/parsenodes.h | modified | +2 −0 |
| src/test/regress/expected/arrays.out | modified | +40 −0 |
| src/test/regress/output/misc.source | modified | +2 −1 |
| src/test/regress/sql/arrays.sql | modified | +15 −0 |