Re: extract (dow/week from date) - Mailing list pgsql-general

From Clodoaldo Pinto
Subject Re: extract (dow/week from date)
Date
Msg-id a595de7a050822024757a2919a@mail.gmail.com
Whole thread Raw
In response to Re: extract (dow/week from date)  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-general
2005/8/21, Jim C. Nasby <jnasby@pervasive.com>:
> On Sun, Aug 21, 2005 at 08:00:45AM -0300, Clodoaldo Pinto wrote:
> > Of course it would be even better if we could pass parameters to the
> > functions changing its behavior such as sunday/monday as the first day
> > or 0-1 as the first day.
>
> FWIW, it seems most things that support changing first day of the week
> to be something other than <default> do it through a global setting.
> ISTM that would be much less error prone than having to make sure you
> used it in all your function calls (not to mention a lot less typing...)
> --
> Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
> Pervasive Software        http://pervasive.com        512-569-9461
>

Yes, I think you are correct.

Regards, Clodoaldo Pinto

pgsql-general by date:

Previous
From: Nigel Horne
Date:
Subject: Re:
Next
From: Laurent HERVE
Date:
Subject: Question about expressions with raise plpgsql statement in coming 8.1