News for hackers. Stuff that matters.
Re:Common mistakes in PostgreSQL by derefr on Friday May 03, 2019 @11:18AM (#19819167)
> 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.

There are no comments on this comment yet.