I have simple setup like below with declarative partitioning
CREATE TABLE foo ( foo_id integer NOT NULL, page integer ) PARTITION BY RANGE (page);