From: Heikki Linnakangas Date: Thu, 11 Dec 2014 08:19:50 +0000 (+0200) Subject: Use correct macro for reltablespace. X-Git-Tag: REL9_5_ALPHA1~1080 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10eb7dfa9b7499d603d09a141b9ae4e36b14393f;p=postgresql Use correct macro for reltablespace. It's an OID. WRITE_UINT_FIELD is identical to WRITE_OID_FIELD, but let's be tidy. Mark Dilger --- diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index edbd09f942..e3e29f5118 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -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);