Re: Temporal Units

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Temporal Units
Date: 2007-05-04 01:10:41
Message-ID: Pine.LNX.4.64.0705031810180.24593@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2 May 2007, Lew wrote:

> The best solution I've encountered so far to this type of problem is to
> have a table of "days" with columns like isWeekday, isHoliday, julianDay,
> otherTidbit, ...
>
> Then you select or join the days within the interval of interest and
> factor out weekdays, or holidays, or whatever.

Thank you, Lew.

Rich

--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerator(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Moreno 2007-05-04 01:13:19 Re: Feature Request --- was: PostgreSQL Performance Tuning
Previous Message david 2007-05-04 00:52:38 Re: Feature Request --- was: PostgreSQL Performance Tuning