Fix assorted confusion between Oid and int32.
Tom Lane <tgl@sss.pgh.pa.us>
Fix assorted confusion between Oid and int32. In passing, also make some debugging elog's in pgstat.c a bit more consistently worded. Back-patch as far as applicable (9.3 or 9.4; none of these mistakes are really old). Mark Dilger identified and patched the type violations; the message rewordings are mine.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/tuptoaster.c | modified | +1 −1 |
| src/backend/postmaster/pgstat.c | modified | +8 −8 |
| src/backend/replication/logical/reorderbuffer.c | modified | +1 −1 |
| src/bin/pg_dump/parallel.c | modified | +1 −1 |