Re: Is there a better way to do this?

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Is there a better way to do this?
Дата
Msg-id FD35B58D-1259-4BBC-907F-5CD0D859F4C6@seespotcode.net
обсуждение исходный текст
Ответ на Re: Is there a better way to do this?  ("D. Dante Lorenso" <dante@lorenso.com>)
Ответы Re: Is there a better way to do this?
Список pgsql-general
On Aug 28, 2007, at 16:55 , D. Dante Lorenso wrote:

>     RETURN time + (days || ' days')::INTERVAL;

It's bad practice to concatenate like this. Use time + days *
interval '1 day' and be done with it.


Michael Glaesemann
grzm seespotcode net



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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Is there a better way to do this?
Следующее
От: Ben
Дата:
Сообщение: Re: autovacuum not running