pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Postgresql ODBC List <pgsql-odbc@postgresql.org>
To: Andrei Kovalevski <andyk@commandprompt.com>
Subject: Re: possible ODBC bug with '-infinity'
Date: Mon, 3 Dec 2007 07:37:00 -0800 (PST)
Message-ID: <806471.5688.qm@web31811.mail.mud.yahoo.com> (raw)
In-Reply-To: <47541770.4070206@commandprompt.com>

--- On Mon, 12/3/07, Andrei Kovalevski <andyk@commandprompt.com> wrote:

> Are you sure these values are equal? Try this in PgAdmin:
> 
> create table t (t timestamp);
> insert into t values ('-infinity');
> insert into t values ('infinity');
> insert into t values ('9999-12-31 23:59:59');
> insert into t values ('5874897-12-31 23:59:59');
> insert into t values ('5874897-12-31
> 23:59:59.999999999');
> --insert into t values ('5874898-01-01 00:00:00');
> select t::date, t::time, t::timestamp, t::varchar from t;

Now the real question is, "What does and ODBC client do with these value?".

Also, don't forget to include values for -infinity and other timestamps that are smaller than what the client side application can display.



view thread (11+ messages)  latest in thread

Message-ID: <806471.5688.qm@web31811.mail.mud.yahoo.com>
Permalink:  ../806471.5688.qm@web31811.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/806471.5688.qm@web31811.mail.mud.yahoo.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: rabroersma@yahoo.com, andyk@commandprompt.com
  Subject: Re: possible ODBC bug with '-infinity'
  In-Reply-To: <806471.5688.qm@web31811.mail.mud.yahoo.com>
  References: <47541770.4070206@commandprompt.com> <806471.5688.qm@web31811.mail.mud.yahoo.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