Re: dynamic interval in plpgsql

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: dynamic interval in plpgsql
Дата
Msg-id 200403291346.05852.josh@agliodbs.com
обсуждение исходный текст
Ответ на dynamic interval in plpgsql  (Thilo Hille <thilo@resourcery.de>)
Ответы Re: dynamic interval in plpgsql  (Thilo Hille <thilo@resourcery.de>)
Список pgsql-novice
Thilo,

> i work on a stored procedure which does some timespecific calculations
> in plpgsql.
> in a loop i want  to increase a timestamp by a changing interval. but i
> found no way to assign a variable to INTERVAL .
> finally i used plpython for the function but i still wonder if it could
> be done with plpgsql?

I'm sure this is possible, but from your description I can't figure out what
you're trying to do.  Please be more explicit.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: problem on psql command
Следующее
От: Jay Campbell
Дата:
Сообщение: question about libpq