SQL date calculation problem

Поиск
Список
Период
Сортировка
От Aaron Spiteri
Тема SQL date calculation problem
Дата
Msg-id 20020717.2105600@scooby.m1group.com.au
обсуждение исходный текст
Список pgsql-admin

Hi all,

I using postgresql 7.1.3 on RH 7.2 server. I am having trouble with TIMEDATE calculation using the pgplsql procedural language the logic is has follows:

FOR r IN SELECT time_span FROM t WHERE name = ''NEW'' LOOP

NEW.end_date := r.time_span + now();

END LOOP;

When I try running this routine I get an error "Bad timestamp external representation '11:39:09' ". This routine ran in previous versions of postgresql does any one have any ideas.

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

Предыдущее
От: "Fouad Fezzi"
Дата:
Сообщение: Re: User's managing
Следующее
От: Luca Zancan
Дата:
Сообщение: Re: Problem compiling PostgreSQL 7.2.1 on RedHat 7.2