Re: DateStyle (was Re: Per-database/schema settings)

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: DateStyle (was Re: Per-database/schema settings)
Дата
Msg-id 3965719D.A655E9ED@alumni.caltech.edu
обсуждение исходный текст
Ответ на DateStyle (was Re: Per-database/schema settings)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
> 1. Major output mode
> 2. Should month-before-day or day-before-month be *preferred* where
> *applicable*? (It's not "applicable" in any output mode but SQL, and it's
> not "applicable" on input like '99/12/31'. -- I always thought of it as
> "tie-breaker".)

Yes, for input it is a "tie-breaker"; that's how I've thought of it too.

Sure, let's try to break this into two orthogonal attributes. Can you
think of a good name or keyword? "European" and "US" sure isn't saying
things as clearly as "day-before-month" or "month-before-day", but they
are easier to type and make a better shorthand.

Let's find a good syntax for this setting before we go too far...
                 - Thomas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: lztext and compression ratios...
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Memo on coding practices: strcmp() does not yield bool