Maybe there is a function?
SELECT part_one(\'[2010-01-01, 2010-02-01)\'::daterange); Should return: \'2010-01-01\'
SELECT part_one(\'[2010-01-01, 2010-02-01)\'::daterange);
SELECT part_two(\'[2010-0