Re: dynamic interval in plpgsql

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Thilo Hille <thilo(at)resourcery(dot)de>, pgsql-novice(at)postgresql(dot)org
Subject: Re: dynamic interval in plpgsql
Date: 2004-03-29 21:46:05
Message-ID: 200403291346.05852.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jay Campbell 2004-03-29 22:55:41 question about libpq
Previous Message Joe Bordes 2004-03-29 16:42:46 Re: how to test string against regular expression contained in postgresql database field?