Josh Berkus <josh(at)agliodbs(dot)com> writes:
> "The type integer is the common choice, as it offers the best balance
> between range, storage size, and performance. The smallint type is
> generally only used if disk space is at a premium. The bigint type
> should only be used if the integer range is insufficient, because the
> latter is definitely faster."
> This paragraph leaves a *lot* to be desired from an accuracy perspective
Really? Exactly which statements will you claim are incorrect?
I notice that your proposed rewrite omits the bit about bigint being
slower, which I can only conclude means you haven't tested on any
32-bit platforms lately.
regards, tom lane