WRITE_UINT_FIELD used where WRITE_OID_FIELD likely intended - Mailing list pgsql-hackers

From Mark Dilger
Subject WRITE_UINT_FIELD used where WRITE_OID_FIELD likely intended
Date
Msg-id ABD1B077-93FA-4D55-B6A5-5B295E002C64@port25.com
Whole thread Raw
Responses Re: WRITE_UINT_FIELD used where WRITE_OID_FIELD likely intended  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
At line 1787 of outfuncs.c, the line:
WRITE_UINT_FIELD(reltablespace)

should probably say
WRITE_OID_FIELD(reltablespace)

since that variable is of type Oid, not uint32.
Granted, these two macros are interchangeable,
but they won't be if we ever move to 64-bit Oids.

mark



pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: Final Patch for GROUPING SETS
Next
From: Robert Haas
Date:
Subject: Re: double vacuum in initdb