Re: dynamic interval in plpgsql - Mailing list pgsql-novice

From Josh Berkus
Subject Re: dynamic interval in plpgsql
Date
Msg-id 200403291346.05852.josh@agliodbs.com
Whole thread Raw
In response to dynamic interval in plpgsql  (Thilo Hille <thilo@resourcery.de>)
Responses Re: dynamic interval in plpgsql
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: problem on psql command
Next
From: Jay Campbell
Date:
Subject: question about libpq