From: Greg Stark <gsstark@mit.edu>
To: Thomas F.O'Connell <tfo@sitening.com>
Cc: Nick Peters <nick.peters@candoltd.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Comparing Dates
Date: 19 Nov 2004 00:50:26 -0500
Message-ID: <87y8gy2xr1.fsf@stark.xeocode.com> (raw)
In-Reply-To: <FA0F2254-39A6-11D9-95C2-000D93AE0944@sitening.com>
References: <419D0DC6.5080504@candoltd.com>
<FA0F2254-39A6-11D9-95C2-000D93AE0944@sitening.com>
"Thomas F.O'Connell" <tfo@sitening.com> writes:
> select 2004-06-08;
> ?column?
> ----------
> 1990
>
> I'm not exactly sure how the bare string is converted internally, but it's
> clearly not a complete date like you're expecting.
What string? That's just integer arithmetic.
--
greg
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: gsstark@mit.edu, tfo@sitening.com, nick.peters@candoltd.com
Subject: Re: Comparing Dates
In-Reply-To: <87y8gy2xr1.fsf@stark.xeocode.com>
* 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