BUG #2403: Date arithemtic using INTERVAL in UPDATE command does not work

Поиск
Список
Период
Сортировка
От Harry E. Clarke
Тема BUG #2403: Date arithemtic using INTERVAL in UPDATE command does not work
Дата
Msg-id 200604222034.k3MKY3KL052271@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #2403: Date arithemtic using INTERVAL in UPDATE command  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: BUG #2403: Date arithemtic using INTERVAL in UPDATE command does not work  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2403
Logged by:          Harry E. Clarke
Email address:      Harry.Clarke@metrosky.co.uk
PostgreSQL version: 8.1.3
Operating system:   Suse Linux 10.0
Description:        Date arithemtic using INTERVAL in UPDATE command does
not work
Details:

Entering the command

UPDATE table SET col_date = col_date - INTERVAL '100' YEAR where condition;

does not perform any date aritimetic, and thus the date value in col_date
remains unchanged. col_date contains a value such as '2039-12-07'. If the
command

UPDATE table SET col_date = DATE '1939-12-07' where condition;

is entered, the command executes as expected.

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

Предыдущее
От: "Balázs Klein"
Дата:
Сообщение: BUG #2402: case insensitive match for unicode doesn't work
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #2403: Date arithemtic using INTERVAL in UPDATE command