df7cb / pg_filedump

pg_filedump provides facilities for low-level examination of PostgreSQL tables and indexes
43 stars 18 forks source link

pg_filedump displays incorrect oid #18

Closed alexandervpotapov closed 1 year ago

alexandervpotapov commented 1 year ago

The extension displays wrong oid if oid greater than 2147483647. It happens because the function decode_int() uses %d specifier instead of %u. The same happens in decode_smallint().

alexandervpotapov commented 1 year ago

I have a solution for this issue and going to fix the bug.