Re: interval origami - Mailing list pgsql-sql

From Alvaro Herrera
Subject Re: interval origami
Date
Msg-id 20181130175719.l7izv65wjwgkls35@alvherre.pgsql
Whole thread Raw
In response to interval origami  (Adam Jensen <hanzer@riseup.net>)
Responses Re: interval origami  (Adam Jensen <hanzer@riseup.net>)
List pgsql-sql
On 2018-Nov-30, Adam Jensen wrote:


> A relational database solution is needed. I am not yet very familiar
> with relational database design and SQL beyond the very basics. So any
> pointers to similar SQL problems with solutions and explanations would
> be tremendously useful at this point. Any hints at all, really, will be
> much appreciated.

This sounds like something you can easily do with range types in
Postgres.  Probably not terribly portable to other DBMSs though.
  https://www.postgresql.org/docs/11/rangetypes.html

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-sql by date:

Previous
From: Adam Jensen
Date:
Subject: interval origami
Next
From: Adam Jensen
Date:
Subject: Re: interval origami