]> granicus.if.org Git - postgresql/commitdiff
Use correct macro for reltablespace.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 11 Dec 2014 08:19:50 +0000 (10:19 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 11 Dec 2014 08:19:50 +0000 (10:19 +0200)
It's an OID. WRITE_UINT_FIELD is identical to WRITE_OID_FIELD, but let's
be tidy.

Mark Dilger

src/backend/nodes/outfuncs.c

index edbd09f9425db934a2b14058df247d0738b3544d..e3e29f51186afdc581e8ab3f23ed47e4ae03e47e 100644 (file)
@@ -1784,7 +1784,7 @@ _outRelOptInfo(StringInfo str, const RelOptInfo *node)
        WRITE_NODE_FIELD(cheapest_unique_path);
        WRITE_NODE_FIELD(cheapest_parameterized_paths);
        WRITE_UINT_FIELD(relid);
-       WRITE_UINT_FIELD(reltablespace);
+       WRITE_OID_FIELD(reltablespace);
        WRITE_ENUM_FIELD(rtekind, RTEKind);
        WRITE_INT_FIELD(min_attr);
        WRITE_INT_FIELD(max_attr);