Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 6E52E2E0047 for ; Mon, 3 Dec 2007 10:14:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 26794-07 for ; Mon, 3 Dec 2007 10:14:49 -0400 (AST) Received: from web31805.mail.mud.yahoo.com (web31805.mail.mud.yahoo.com [68.142.207.68]) by postgresql.org (Postfix) with SMTP id 86CF22E007C for ; Mon, 3 Dec 2007 10:14:49 -0400 (AST) Received: (qmail 66195 invoked by uid 60001); 3 Dec 2007 14:14:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=oI8IJQSw1OwcPwL4Sb3DTGcQlfFxADVVqIRiehnnHhN5S6QpCfA+kkUGgiPW2QVL9wutSH74akwejI3Unv+39JeccmLcoEHEqPaCa1dyuewgtvYj9P8P2+AKsdh2Tc6sYiPSVhG6h0gJ7EUXc3LTWNnJ6eYPL9YZHa2xntT6yFs=; X-YMail-OSG: O_N4FBEVM1m2GaEJwGR7NQeXj8uoFbUfQ8MI5EdemC47ZHa6vRNLp.Gn7iSAvp3IhbeSAS6a9oPrTb0K82kwnTQSZX1FFMVssrpiSvDJeOOclws0IvRfHPilrzSQcQ-- Received: from [75.84.89.248] by web31805.mail.mud.yahoo.com via HTTP; Mon, 03 Dec 2007 06:14:48 PST X-Mailer: YahooMailWebService/0.7.160 Date: Mon, 3 Dec 2007 06:14:48 -0800 (PST) From: Richard Broersma Jr Subject: Re: possible ODBC bug with '-infinity' To: Andrei Kovalevski Cc: Postgresql ODBC List In-Reply-To: <475408B6.2010700@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <160989.65498.qm@web31805.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/6 X-Sequence-Number: 9284 --- On Mon, 12/3/07, Andrei Kovalevski wrote: > Also all Microsoft applications notify ODBC driver > by setting additional parameter during initialization. I > think ADO requests 'inifinity' value as SQL_C_CHAR and sure > it doesn't expect it to be 'infinity'. Actually, postgresql doesn't actually have a (+/-) infinity value. Notice: http://www.postgresql.org/docs/8.3/static/datatype-datetime.html#AEN4999 +infinity = 5874897 AD -infinity = 4713 BC so the problem must be that ADO doesn't know what to do with dates as small as 4713 BCE.