Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> But then... How could I obtain "variable global values" (like the timestamp
>> for example) in different function locations whit its "at time" values ???
> Not that I know of. I'd suggest, instead, that you call the second now()
> statement after the function completes.
There is a function that gives true realtime, rather than transaction
start time as now() does. I think it's called timeofday(), but check
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: Roland Roberts||Date: 2002-09-10 20:40:44|
|Subject: Unique indices and nulls|
|Previous:||From: Josh Berkus||Date: 2002-09-10 18:12:59|
|Subject: Re: pl/pgsql and returns timestamp type|