Re: Patch for SQL-standard negative valued year-month literals

Поиск
Список
Период
Сортировка
От Stephen R. van den Berg
Тема Re: Patch for SQL-standard negative valued year-month literals
Дата
Msg-id 20080917151935.GA10689@cuci.nl
обсуждение исходный текст
Ответ на Re: Patch for SQL-standard negative valued year-month literals  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
>"Stephen R. van den Berg" <srb@cuci.nl> writes:
>> Intervals are a scalar, not an addition of assorted values, alternating signs
>> between fields would be wrong.

>Sorry, you're the one who's wrong on that.  We've treated intervals as
>three independent fields for years now (and before that it was two
>independent fields).

Ok, didn't know that.
Let's put it differently then: I can understand that the standard
considers it a scalar and not an addition, but apparently the addition
characteristic is being used in Postgres code already; that makes it
undesirable to change it indeed.
-- 
Sincerely,          Stephen R. van den Berg.

He did a quarter of the work in *half* the time!


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Common Table Expressions (WITH RECURSIVE) patch
Следующее
От: "Jaime Casanova"
Дата:
Сообщение: Re: Column level privileges was:(Re: Extending grant insert on tables to sequences)