Custom tstzrange with importance factored in - Mailing list pgsql-hackers

From Rares Pop (Treelet)
Subject Custom tstzrange with importance factored in
Date
Msg-id 8CB43014-79BC-4FA4-9838-A17313D525F9@treelet.net
Whole thread Raw
Responses Re: Custom tstzrange with importance factored in
List pgsql-hackers
Hi,

I want to make a custom range (and multirange type) that carries a few useful details.
Looks like I may have to implement the operators, custom functions and my own aggregator.
Where can I find the code SQL code for anything that relates to the tstzrange range type?

Or would you recommend a different approach?
I essentially want to be able to aggregate multiple tstzranges - each range with its own importance. The aggregation
wouldbe like a a join/intersect where ranges with higher importance override the ones with lower importance. 

Thanks!
Rares


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Allow tests to pass in OpenSSL FIPS mode
Next
From: Tom Lane
Date:
Subject: Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs