Oliver Vecernik <vecernik(at)aon(dot)at> writes:> My problem is how to convert the intervals to decimal hours
See date_part('epoch', interval_value)
regards, tom lane