Re: now() with microsecond granulity needed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Wickstrom <danw(at)rtp(dot)ericsson(dot)se>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: now() with microsecond granulity needed
Date: 2001-02-21 21:55:33
Message-ID: 12323.982792533@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Daniel Wickstrom <danw(at)rtp(dot)ericsson(dot)se> writes:
> the timeofday function seems to work:

Hmm, exactly what I was thinking of, except that it returns a text
rather than a timestamp (a strange choice...). It seems a little
buggy as well because the formatting of the microseconds part is
wrong --- will fix that, and document it.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jeff Duffy 2001-02-21 22:06:21 Re: logging a psql script
Previous Message Ken Kline 2001-02-21 21:51:00 logging a psql script