Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group