Pgadmin auto increment. Use the Sequence dialog to create a sequence.