pgsql: Fix use of wrong datatype with sizeof(). - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix use of wrong datatype with sizeof().
Date
Msg-id E1h8RWi-00010x-TI@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5857be907d5178673ce077ba71562f3c4297ee32

Modified Files
--------------
src/backend/nodes/copyfuncs.c        | 2 +-
src/backend/partitioning/partprune.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: pgbench: Remove \cset
Next
From: Robert Haas
Date:
Subject: Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.