For inserting very large PostgreSQL tables in to hypertables it would be useful to have a function which inserts it using multiple selects over disjoint time ranges. By tuning the timerange one can limit ram being used by the server and maybe improve the efficiency of the query.