interval +variable - Mailing list pgsql-sql

From Fatih Cerit
Subject interval +variable
Date
Msg-id 008a01c52486$1c1c9520$bb41ccd5@cerit
Whole thread Raw
Responses Re: interval +variable  (Michael Fuhr <mike@fuhr.org>)
Re: interval +variable  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-sql
Dear all

Is there anyone at there who knows howto use dateadd in pgsql. I have a 
problem in my function that is like this ;

Select into futuredate now() + interval '30 days';  <- this is ok
but how can I use a variable intead of '30 days'    :(

Thanks 



pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: datestyle setting
Next
From: Michael Fuhr
Date:
Subject: Re: interval +variable