2 ms·
> things like serial numbers In Postgres, if I had a truly massive number of alphabetic-textual serial numbers (such that I was worried about their impact on s
by derefr 8y ago
> things like serial numbers
In Postgres, if I had a truly massive number of alphabetic-textual serial numbers (such that I was worried about their impact on storage/memory size), I’d define a new TYPE, similar to the UUID type, where such serial numbers would be parsed into regular uint64s (BIGINTs) on input, and generated back to their textual serial-number representation on output.