Comment Comment by daurnimator Note that Postgres has built in range types which makes much of this cleaner. See https://www.postgresql.org/docs/15/rangetypes.html#RANGETYPE... parent daurnimator 4 years ago