Fix use of wrong datatype with sizeof().
authorRobert Haas <rhaas@postgresql.org>
Mon, 25 Mar 2019 15:23:52 +0000 (11:23 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 25 Mar 2019 15:28:06 +0000 (11:28 -0400)
commit5857be907d5178673ce077ba71562f3c4297ee32
tree43e0a4dfc86de5232bb83271b4020733ffc3087c
parent25ee70511ec2ccbef0ad3fe64875a4d552cdcd50
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
src/backend/nodes/copyfuncs.c
src/backend/partitioning/partprune.c