Re: pl/pgsql and returns timestamp type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Terry Yapt <yapt(at)technovell(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: pl/pgsql and returns timestamp type
Date: 2004-12-16 16:47:12
Message-ID: 25516.1103215632@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Terry Yapt <yapt(at)technovell(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 ?

Perhaps you want to use timeofday() instead of now(). now() does not
advance within a transaction.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Afton & Ray Still 2004-12-16 17:10:12 Re: basic download and setup questions
Previous Message candra 2004-12-16 14:25:43 Postgresql