From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Subject: Re: Variable constants ?
Date: Fri, 16 Aug 2019 05:50:08 -0700 (PDT)
Message-ID: <alpine.LNX.2.20.1908160549020.11183@salmo.appl-ecosys.com> (raw)
In-Reply-To: <11025034d9e2c2b5e0316aa1f80dfe68@swisspug.org>
References: <20190815205657.GA2593@panix.com>
<alpine.LNX.2.20.1908151422480.13052@salmo.appl-ecosys.com>
<11025034d9e2c2b5e0316aa1f80dfe68@swisspug.org>
On Fri, 16 Aug 2019, Charles Clavadetscher wrote:
> Another way to keep a history is using a daterange instead of two columns for
> start and end date. Something like
>
> create table labor_rate_mult (
> rate real primary_key,
> validity daterange not null
> )
Charles,
Just out of curiosity, what is the range for a rate that is still current?
Does it change every day?
Regards,
Rich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: rshepard@appl-ecosys.com
Subject: Re: Variable constants ?
In-Reply-To: <alpine.LNX.2.20.1908160549020.11183@salmo.appl-ecosys.com>
References: <20190815205657.GA2593@panix.com> <alpine.LNX.2.20.1908151422480.13052@salmo.appl-ecosys.com> <11025034d9e2c2b5e0316aa1f80dfe68@swisspug.org> <alpine.LNX.2.20.1908160549020.11183@salmo.appl-ecosys.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox