Re: Plpgsql function and variable substitute

From: Alban Hertroys <alban(at)magproductions(dot)nl>
To: Jiří Němec <konference(at)menea(dot)cz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Plpgsql function and variable substitute
Date: 2007-05-16 14:56:08
Message-ID: 464B1B88.2000806@magproductions.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jiří Němec wrote:
> SET expiretime = expiretime + interval 'lifetime days'
> SET expiretime = expiretime + interval || lifetime || 'days'

SET expiretime = expiretime + lifetime * interval '1 day'

--
Alban Hertroys
alban(at)magproductions(dot)nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
7500 AK Enschede

// Integrate Your World //

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas 2007-05-16 14:59:31 Re: dns less connection
Previous Message Magnus Hagander 2007-05-16 14:50:11 Re: dns less connection