From 6efbded6e4672c597a6f0dc0f09263e7db7369ff Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 22 Dec 2015 21:05:16 -0500 Subject: Allow omitting one or both boundaries in an array slice specifier. Omitted boundaries represent the upper or lower limit of the corresponding array subscript. This allows simpler specification of many common use-cases. (Revised version of commit 9246af6799819847faa33baf441251003acbb8fe) YUriy Zhuravlev --- src/backend/nodes/copyfuncs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/nodes/copyfuncs.c') diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index ba04b7227ca..4cf14b6f71f 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -2401,6 +2401,7 @@ _copyAIndices(const A_Indices *from) { A_Indices *newnode = makeNode(A_Indices); + COPY_SCALAR_FIELD(is_slice); COPY_NODE_FIELD(lidx); COPY_NODE_FIELD(uidx); -- cgit v1.2.3