pgsql: Fix use of wrong datatype with sizeof().

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix use of wrong datatype with sizeof().
Date: 2019-03-25 15:28:40
Message-ID: E1h8RWi-00010x-TI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2019-03-25 15:28:45 Re: pgsql: Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.
Previous Message Alvaro Herrera 2019-03-25 15:18:13 pgsql: pgbench: Remove \cset