pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: Greg Cocks <gcocks@stoller.com>
Cc: Postgresql ODBC List <pgsql-odbc@postgresql.org>
Subject: Re: possible ODBC bug with '-infinity'
Date: Sun, 02 Dec 2007 17:25:47 +0900
Message-ID: <47526C0B.9060905@tpf.co.jp> (raw)
In-Reply-To: <480159.3462.qm@web31808.mail.mud.yahoo.com>
References: <480159.3462.qm@web31808.mail.mud.yahoo.com>

Richard Broersma Jr wrote:
> --- On Fri, 11/30/07, Greg Cocks <gcocks@stoller.com> wrote:
> 
>> Using a MS product? Is this *maybe* related to the same
>> 'issue' with
>> NULLs from PostgreSQL to MS products i.e., in the
>> <postgresql.conf>
>> file, turning 'transform_null_equals' to
>> 'on'?
>>
>> Likely not, but thought I would put it out there...   :-)
>> .. DEFAULT '-infinity', ...
> 
> I should probably clarify what I am seeing.
> 
> I have a table that has a time stamp field.  The timestamp fields have two special values in postgres:  
>   'infinity' which implies '+infinity' 
>   and '-infinity'

ODBC doesn't have such a concept.

> when I create a recordset of records that have the value 'infinity' in the timestamp field all is well.  The client side timestamp displays '9999-12-31 .... '.

Though I have no confidence, I'm doing so.
Do you think it is an appropriate handling ?

> However, when I try to create a recordset that has field that contains the '-infinity' values I get an error message.

How do you think the driver should treat -infinity ?

regards,
Hiroshi Inoue



view thread (11+ messages)  latest in thread

Message-ID: <47526C0B.9060905@tpf.co.jp>
Permalink:  ../47526C0B.9060905@tpf.co.jp/
Also on:    postgresql.org/message-id/47526C0B.9060905@tpf.co.jp

 · 

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: inoue@tpf.co.jp, rabroersma@yahoo.com, gcocks@stoller.com
  Subject: Re: possible ODBC bug with '-infinity'
  In-Reply-To: <47526C0B.9060905@tpf.co.jp>
  References: <480159.3462.qm@web31808.mail.mud.yahoo.com> <47526C0B.9060905@tpf.co.jp>

* 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