Re: Setting week starting day

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Setting week starting day
Дата
Msg-id 20070309153651.GF23704@wolff.to
обсуждение исходный текст
Ответ на Re: Setting week starting day  (Jorge Godoy <jgodoy@gmail.com>)
Ответы Re: Setting week starting day
Список pgsql-general
On Thu, Mar 08, 2007 at 20:32:22 -0300,
  Jorge Godoy <jgodoy@gmail.com> wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
>
> As I said, it is easy with a function. :-)  I was just curious to see if we
> had something like Oracle's NEXT_DAY function or something like what I
> described (SET BOW=4; -- makes Thursday the first day of week):

If you are actually using "date" you can get the effect you want by adding
a constant integer to the date in the date_trunc function. That seems
pretty easy.

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: security permissions for functions
Следующее
От: "Michael Schmidt"
Дата:
Сообщение: Re: Beginner's Questions