bug or change in functionality in 7.2?

Поиск
Список
Период
Сортировка
От Barry Lind
Тема bug or change in functionality in 7.2?
Дата
Msg-id 3BF4712B.4040606@xythos.com
обсуждение исходный текст
Ответы Re: [HACKERS] bug or change in functionality in 7.2?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I have in my code a SQL statement that does the following:

select period_start + interval('1 hour') from periods;

This worked in 7.1, but in 7.2 I am getting the following error:

ERROR:  parser: parse error at or near "'"

If I remove the quotes then I get the following error:

ERROR:  parser: parse error at or near "hour"

Was this change from 7.1 to 7.2 intentional?  If so, how should this be
coded in 7.2?

thanks,
--Barry


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.2 pg_hba.conf load on SIGHUP?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7.2 pg_hba.conf load on SIGHUP?