Forum OpenACS Q&A: Re: Measuring Pl/Pgsql performance

Collapse
Posted by Carl Coryell-Martin on
Hmm, current_timestamp seems to return the same time all the time as well.
Collapse
Posted by Matthew Walker on

It looks like you need timeofday (), see the Postgresql docs down the bottom. Most of the date and time functions do not advance during a transaction.