Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

> 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


pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group