Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0B77E2E3237 for ; Sun, 2 Dec 2007 04:26:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 39638-05 for ; Sun, 2 Dec 2007 04:25:57 -0400 (AST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 75FA72E2F33 for ; Sun, 2 Dec 2007 04:25:55 -0400 (AST) Received: (qmail 28914 invoked from network); 2 Dec 2007 17:25:52 +0900 X-Authentication: inoue was authenticated by smtp.tpf.co.jp at 2 Dec 2007 17:25:52 +0900 Received: from unknown (HELO ?192.168.11.3?) (219.61.40.6) by smtp.tpf.co.jp with SMTP; 2 Dec 2007 17:25:52 +0900 Message-ID: <47526C0B.9060905@tpf.co.jp> Date: Sun, 02 Dec 2007 17:25:47 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Richard Broersma Jr CC: Greg Cocks , Postgresql ODBC List Subject: Re: possible ODBC bug with '-infinity' References: <480159.3462.qm@web31808.mail.mud.yahoo.com> In-Reply-To: <480159.3462.qm@web31808.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/1 X-Sequence-Number: 9279 Richard Broersma Jr wrote: > --- On Fri, 11/30/07, Greg Cocks wrote: > >> Using a MS product? Is this *maybe* related to the same >> 'issue' with >> NULLs from PostgreSQL to MS products i.e., in the >> >> 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