Re: [GENERAL] tsrange format

2016-01-03 Thread Adrian Klaver
On 01/03/2016 11:40 AM, Greg Jaskiewicz wrote: Hi, Is it easily possible to supply and receive tsrange types in epoch values, or is it really all down always to string parsing? AFAIK, not without resorting to a using some mishmash of EXTRACT, to_date() and casting. As a general rule, I pa

[GENERAL] tsrange format

2016-01-03 Thread Greg Jaskiewicz
Hi, Is it easily possible to supply and receive tsrange types in epoch values, or is it really all down always to string parsing? As a general rule, I pass time in the app in epoch-float values, which is then converted by the presenter/controller layer to the right format used by views, wheth