diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-12-14 11:46:36 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-12-14 11:46:48 -0500 |
| commit | 0a5682041dbf991bd325a7d14daf39ecfc9bd624 (patch) | |
| tree | 096cf75790de9bc744176a5b45f003adc80339ef /contrib/jsonb_plperl/jsonb_plperl--1.0.sql | |
| parent | 3f710fc2b48d6326958260f10bd139a1e87fcf53 (diff) | |
Fix datatype confusion in logtape.c's right_offset().
This could only matter if (a) long is wider than int, and (b) the heap
of free blocks exceeds UINT_MAX entries, which seems pretty unlikely.
Still, it's a theoretical bug, so backpatch to v13 where the typo came
in (in commit c02fdc922).
In passing, also make swap_nodes() use consistent datatypes.
Ma Liangzhu
Discussion: https://postgr.es/m/17336-fc4e522d26a750fd@postgresql.org
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl--1.0.sql')
0 files changed, 0 insertions, 0 deletions
