Sorry if I am misunderstanding. I'm still pretty new to PostgreSQL but the column actually is a bigint (well technically a bigserial) which is why I am confused.
‘The arguments are literal string constants.“
A column reference is simply not possible since arguments can only be “literal string constants”.
David J.
Ah, I see. Anyway I managed to fix it with this code: