]> granicus.if.org Git - postgresql/commitdiff
Mirror struct Aggref field order in _copyAggref().
authorNoah Misch <noah@leadboat.com>
Tue, 31 May 2016 04:01:03 +0000 (00:01 -0400)
committerNoah Misch <noah@leadboat.com>
Tue, 31 May 2016 04:01:03 +0000 (00:01 -0400)
This is cosmetic, and no supported release has the affected fields.

src/backend/nodes/copyfuncs.c

index 20e38f09fbe40a1a45a1879702eab674a40b8750..08ed9909773595650d9a30d8d87b46a6f336724c 100644 (file)
@@ -1244,8 +1244,8 @@ _copyAggref(const Aggref *from)
        COPY_NODE_FIELD(aggfilter);
        COPY_SCALAR_FIELD(aggstar);
        COPY_SCALAR_FIELD(aggvariadic);
-       COPY_SCALAR_FIELD(aggpartial);
        COPY_SCALAR_FIELD(aggcombine);
+       COPY_SCALAR_FIELD(aggpartial);
        COPY_SCALAR_FIELD(aggkind);
        COPY_SCALAR_FIELD(agglevelsup);
        COPY_LOCATION_FIELD(location);