DBD::Pg ... how would I format this prepare? - Mailing list pgsql-sql

From Marc G. Fournier
Subject DBD::Pg ... how would I format this prepare?
Date
Msg-id 20060726182806.A1188@ganymede.hub.org
Whole thread Raw
Responses Re: DBD::Pg ... how would I format this prepare?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: DBD::Pg ... how would I format this prepare?  ("Jim Buttafuoco" <jim@contactbda.com>)
Re: DBD::Pg ... how would I format this prepare?  (Mathieu Arnold <mat@mat.cc>)
List pgsql-sql
I need to do:

NOW() + '2 day'::interval

where 2 is a variable ...

if I do:

NOW() + '? day'::interval

it, of course, takes the ? as a literal ... so is there some way I can do 
this such that I can do the placeholder?

Thx

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664


pgsql-sql by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Storing an ordered list
Next
From: Tom Lane
Date:
Subject: Re: DBD::Pg ... how would I format this prepare?