From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah <mallah@trade-india.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: timeofday() and now() issue..
Date: Fri, 02 May 2003 10:57:17 -0400
Message-ID: <10505.1051887437@sss.pgh.pa.us> (raw)
In-Reply-To: <200305021844.35194.mallah@trade-india.com>
References: <200305021844.35194.mallah@trade-india.com>
Rajesh Kumar Mallah <mallah@trade-india.com> writes:
> SELECT CAST (timeofday() as timestamp with time zone) - CAST (now() as timestamp with time zone);
> shudn't it return something close to 0 ?
Works for me ... what's your platform, PG version, and timezone?
And what are you getting from the intermediate steps in that expression?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, mallah@trade-india.com
Subject: Re: timeofday() and now() issue..
In-Reply-To: <10505.1051887437@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox