CREATE TABLE u_account (
Jid serial primary key,
score int4
);
The primary key works fine (updates itself) ok when I update it like this;
INSERT INTO u_account ('score') VALUES ('122233344');
However when I insert a value like this;
INSERT INTO u_account VALUES ('122233344');
This updates the primary key;
I don't want the primary key to accept anything other than the number that is supposed to be coming next.
Someone had set it up for me before so that if I put in this code;
INSERT INTO u_account VALUES ('122233344');
it would ignore the primary key and just update score.
Please help.