Suppor string primary key for PostgreSQL