Re: timestamp/function question - Mailing list pgsql-general

From Soma Interesting
Subject Re: timestamp/function question
Date
Msg-id 5.0.2.1.0.20010329093945.025f8728@pop.telus.net
Whole thread Raw
In response to Re: timestamp/function question  (will trillich <will@serensoft.com>)
Responses Re: timestamp/function question
List pgsql-general
At 11:13 AM 3/29/2001 -0600, you wrote:
>i'd agree with you.
>
>but as tom lane mentioned, current_date is today, all day, until
>midnight (local time zone, i presume) whereas current_timestamp
>is less chunky, having finer grains down to one second.
>
>but even there, the timestamp is apparently (just learned this
>today from other posts on this thread) set for the start of the
>current transaction (or is it session?)...
>
>timeofday() may be what you're after.

I'm new to stored procedures, triggers and pl/pgsql. The mistakes I'll
likely make will be simple ones and I should have thought of timestamp vs.
date, sorry to ask such foolish questions.


pgsql-general by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: timestamp/function question
Next
From: Tom Lane
Date:
Subject: Re: tables, where