Re: pl/pgsql and returns timestamp type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rmit(dot)test2115(at)gmail(dot)com
Cc: pgsql-novice(at)postgresql(dot)org, vijay(dot)anantuni(at)prov-test(dot)gapps(dot)rmit(dot)edu(dot)au
Subject: Re: pl/pgsql and returns timestamp type
Date: 2017-06-22 14:52:08
Message-ID: 25824.1498143128@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

rmit(dot)test2115(at)gmail(dot)com writes:
> I cannot to get this to run... I think I am mistaking some basic concept or I have a big brain-lock . Somebody know what is the problem to execute this function ?

"now() - tdesde" would yield an interval, not a timestamp.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Merlin Moncure 2017-06-22 15:08:45 Re: pl/pgsql and returns timestamp type
Previous Message Garry Chen 2017-06-21 16:46:56 Re: Column level security question