mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
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.
This commit is contained in:
@ -2458,7 +2458,7 @@ ReorderBufferToastAppendChunk(ReorderBuffer *rb, ReorderBufferTXN *txn,
|
||||
Pointer chunk;
|
||||
TupleDesc desc = RelationGetDescr(relation);
|
||||
Oid chunk_id;
|
||||
Oid chunk_seq;
|
||||
int32 chunk_seq;
|
||||
|
||||
if (txn->toast_hash == NULL)
|
||||
ReorderBufferToastInitHash(rb, txn);
|
||||
|
Reference in New Issue
Block a user