From: Josh Berkus <josh@agliodbs.com>
To: Joe Conway <mail@joeconway.com>
To: josh@agliodbs.com
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL Challenge: Skip Weekends
Date: Fri, 21 Jun 2002 12:31:23 -0700
Message-ID: <web-1552107@davinci.ethosmedia.com> (raw)
In-Reply-To: <3D12BA7F.1090209@joeconway.com>
Joe,
> How about this (a bit ugly, but I think it does what you want --
> minus the holidays, which you said you already have figured out):
>
> create or replace function
> get_future_work_day(timestamp, int)
Thank you. Once again, you come to the rescue when I'm stuck. I'll
try your solution and Jean-Luc's, and see which works better/faster.
And report back.
-Josh Berkus
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, mail@joeconway.com
Subject: Re: SQL Challenge: Skip Weekends
In-Reply-To: <web-1552107@davinci.ethosmedia.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