Well thats the first positive lead Iv'e had in days. Thanks I will give it a go when I have more time.
After many hours of searching I was ready to give up.
Actually I did. I have no more time to waste.
I succeed to the claim that it may as well not be done.
actually I think if you search google for "primary key prevent updated" my posts will come up as number 1.
CREATE TABLE u_account (
p_id serial primary key,
unique_id varchar(255),
name varchar(255),
rank varchar(255),
score int4
);
CREATE TABLE g_ss (
g_id varchar(255) NOT NULL UNIQUE,
b_bs int4,
u_accountp_id int4 REFERENCES u_account(p_id)
);