Re: pl/pgsql and returns timestamp type - Mailing list pgsql-novice

From Tom Lane
Subject Re: pl/pgsql and returns timestamp type
Date
Msg-id 25516.1103215632@sss.pgh.pa.us
Whole thread Raw
In response to pl/pgsql and returns timestamp type  (Terry Yapt <yapt@technovell.com>)
List pgsql-novice
Terry Yapt <yapt@technovell.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
whatis 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

pgsql-novice by date:

Previous
From: Terry Yapt
Date:
Subject: pl/pgsql and returns timestamp type
Next
From: Afton & Ray Still
Date:
Subject: Re: basic download and setup questions