| From: | Clodoaldo Pinto <clodoaldo(dot)pinto(at)gmail(dot)com> |
|---|---|
| To: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
| Cc: | Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "pgsql-general postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: extract (dow/week from date) |
| Date: | 2005-08-22 09:47:32 |
| Message-ID: | a595de7a050822024757a2919a@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
2005/8/21, Jim C. Nasby <jnasby(at)pervasive(dot)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(at)pervasive(dot)com
> Pervasive Software http://pervasive.com 512-569-9461
>
Yes, I think you are correct.
Regards, Clodoaldo Pinto
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurent HERVE | 2005-08-22 11:20:28 | Question about expressions with raise plpgsql statement in coming 8.1 |
| Previous Message | Nigel Horne | 2005-08-22 09:44:55 | Re: |