I’m trying to set a sequence to a specific value. SELECT setval('payments_id_seq'), 21, true This gives an error: ERROR: function setval(unknown) does not exist Using ALTER SEQUENCE doesn’t seem...
I ran into the problem that my primary key sequence is not in sync with my table rows. That is, when I insert a new row I get a...