CREATE TABLE table_Number(
key integer NOT NULL,
tstamp timestamptz NOT NULL);
insert into table_Number (key, tstamp)
select * from (
select row_number() over () n, t
from generate_series(NOW() - INTERVAL '90 days', NOW(),'1 min') t
) sq
where n <= 300