Search Postgresql Archives

Split daterange into sub periods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, July 5, 2018, hmidi slim <hmidi.slim2@xxxxxxxxx> wrote:
I got this error:
ERROR: result of range difference would not be contiguous

Is there any operators to make the split of daterang
To refine what Adrian said, operators cannot return a setof result so this is basically impossible.  The interface for such a behavior would have to be a function.  You one someone already wrote elsewhere or you can write your own.  There isn't one in core that I see.

David J.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux