diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2015-12-18 15:18:58 +0300 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2015-12-18 15:18:58 +0300 |
commit | 9246af6799819847faa33baf441251003acbb8fe (patch) | |
tree | 4ec56f3add9dc6e3bb583a9c3d617385390109fe /src/backend/nodes/copyfuncs.c | |
parent | 33bd250f6c4cc309f4eeb657da80f1e7743b3e5c (diff) |
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
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index ba04b7227ca..6fc9886209d 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -2403,6 +2403,8 @@ _copyAIndices(const A_Indices *from) COPY_NODE_FIELD(lidx); COPY_NODE_FIELD(uidx); + COPY_SCALAR_FIELD(lidx_default); + COPY_SCALAR_FIELD(uidx_default); return newnode; } |