"carter ck" <carterck32@hotmail.com> writes:
> I am wonderring if it is a good practice to use SERIAL index as primary key,
> as it is only available up to 9999999?
Where in the world did you get that idea?
SERIAL goes up to 2^31 (2 billion); if you need more use BIGSERIAL.
regards, tom lane