Re: Date = current_timestamp inconsistency? - Mailing list pgsql-general

From Peter Gibbs
Subject Re: Date = current_timestamp inconsistency?
Date
Msg-id 001601c30584$ae69d820$0b01010a@emkel.co.za
Whole thread Raw
In response to Date = current_timestamp inconsistency?  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
List pgsql-general
Jean-Christian Imbeault wrote:

> TEST=# select ('2003-04-18'::date=current_timestamp::date);
>   t
> TEST=# insert into t values('2003-04-08');
> TEST=# select (d=current_timestamp::date) from t;
>   f

I'm not sure why you expect the 8th and 18th of April to be equal anyway??

--
Peter Gibbs
EmKel Systems


pgsql-general by date:

Previous
From: "Benjamin RICHARD"
Date:
Subject: Problem with the use of Array and Loop
Next
From: Jeffrey Melloy
Date:
Subject: Documentation