Fix use of wrong datatype with sizeof().

Robert Haas <rhaas@postgresql.org>

Commit: 5857be907d5178673ce077ba71562f3c4297ee32
Author: Robert Haas <rhaas@postgresql.org>
Date: 2019-03-25T15:28:06Z
Releases: 12.0
Fix use of wrong datatype with sizeof().

OID and int are the same size, but they are not the same thing.

David Rowley

Discussion: http://postgr.es/m/CAKJS1f_MhS++XngkTvWL9X1v8M5t-0N0B-R465yHQY=TmNV0Ew@mail.gmail.com

Files

PathChange+/−
src/backend/nodes/copyfuncs.c modified +1 −1
src/backend/partitioning/partprune.c modified +1 −1

Discussion

Cited messages not in the archive: CAKJS1f_MhS++XngkTvWL9X1v8M5t-0N0B-R465yHQY=TmNV0Ew@mail.gmail.com