mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 15:49:58 +00:00
We didn't consistently apply these, and it wasn't consistently solved. With this patch we should have a more consistent approach to this, and have less issues porting changes to newer versions. This also removes some potentially buggy casts to `long` from `uint64` - they could've truncated the value in systems where `long` only has 32 bits.