Postgresql – Sequence jump with CACHE option
I have 2 db sequences and 2 tables: CREATE SEQUENCE products_seq MINVALUE 1 MAXVALUE 9999999999999999 START WITH 1 INCREMENT BY 1; CREATE SEQUENCE reviews_seq MINVALUE 1 MAXVALUE 9999999999999999 START WITH 1 INCREMENT BY 1 CACHE 10; CREATE TABLE IF NOT…