lukejee ·
·
阅读: 1157
use SERIAL rather than OIDs because SERIAL sequences are unique only within a single table
To uniquely number columns in user tables, it is best to use SERIAL rather than OIDs because SERIAL sequences are unique only within a single table. and are therefore less likely to overflow. SERIAL8 is available for storing eight-byte sequence values.