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