How to store unsigned int (uint32) in postgres? I noticed that a numeric (10.0) will match the number of digits, but is it the best?
In the course of further research, another similar problem is to save uint64. I found a numeric (20.0) check (BETWEEN 0 AND '18446744073709551615' :: numeric (20,0)). There are probably no native types for this.
source share