I'm trying to add 2 'time without timezone' columns in postgres. What is the best way to achieve or correct this?
SELECT time_of_day + offset_time
FROM event_time;
"Error: operator is not unique: time without time zone + time without time zone. HINT: Could not choose a best candidate operator. You might need to add explicit type casts. SQL state: 42725".
timeis a "point in time". Adding "8 in the morning" to "10 in the evening" doesn't really make sense.offset_timetointerval.