df7cb / pg_filedump

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

Fixed unaligned use of struct NumericData #29

Closed GetsuDer closed 4 months ago

GetsuDer commented 4 months ago

In CopyAppendNumeric buffer for NumericData struct could be unaligned, which may cause problems on some systems. This commit resolves bug which was described in #23 by copying values from buffer into aligned memory. Also indents were fixed in CopyAppendNumeric.

df7cb commented 4 months ago

Thanks!