Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 92EDDB5DC09 for ; Thu, 22 Sep 2011 11:12:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 98825-04; Thu, 22 Sep 2011 14:12:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-yi0-f46.google.com (mail-yi0-f46.google.com [209.85.218.46]) by mail.postgresql.org (Postfix) with ESMTP id 5D471B5DC53; Thu, 22 Sep 2011 11:12:08 -0300 (ADT) Received: by yib18 with SMTP id 18so1902351yib.19 for ; Thu, 22 Sep 2011 07:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=4ZSarzJ+yckWGj2yn5Kb+R9jNLGfgdI6RuzkeqMUTDY=; b=mCDwbWmspBwziPDf6IknuQ/ih1Ys6nLwIaUx/Equ+1dsjA66tNfb0LqspZuoqWO2S4 zVsR61pugVzLGLbTQBIhSVcWO+5wBhZOiHUWJS7dMUFZzL1m7ZypK2v+hV6k3wMCHglB 6tW57NLeG6SXII642fSX+Qqb6c1gncf0vP2fs= Received: by 10.42.132.138 with SMTP id d10mr2343615ict.208.1316700728239; Thu, 22 Sep 2011 07:12:08 -0700 (PDT) Received: from tucker.localnet (c-24-17-164-54.hsd1.wa.comcast.net. [24.17.164.54]) by mx.google.com with ESMTPS id r14sm11386823ibe.7.2011.09.22.07.12.06 (version=SSLv3 cipher=OTHER); Thu, 22 Sep 2011 07:12:07 -0700 (PDT) From: Adrian Klaver To: c k Subject: Re: [GENERAL] Date time value error in Ms Access using pass through queries Date: Thu, 22 Sep 2011 07:12:03 -0700 User-Agent: KMail/1.13.5 (Linux/2.6.32-33-generic; KDE/4.4.5; i686; ; ) Cc: pgsql-general@postgresql.org, "pgsql-admin" References: <201109210635.35337.adrian.klaver@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201109220712.03827.adrian.klaver@gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201109/163 X-Sequence-Number: 38400 On Thursday, September 22, 2011 2:25:40 am c k wrote: > It shows error as 'Date/time value out of range' and gives the actual part > of the sql statement which contains date as the details. What program threw the error, Access,ODBC or Postgres? > > I have installed both databases at different locations on same drive on > Fedora 15 and accessing it from Windows Xp virtual machine. > And both databases from 9.0. and 9.1 have same structure and and it is > found that this problem comes for all date columns for 9.1. There is no > such problem for 9.0 at all. Define install, from source or package? > > When same query is executed from PgAdmin it executed successfully for 9.1. > So the error may be in ODBC driver and some things related to date data > type may be changed in 9.1. What version of the ODBC driver are using? FYI, there is a Postgres ODBC list: http://archives.postgresql.org/pgsql-odbc/ > > C P Kulkarni > -- Adrian Klaver adrian.klaver@gmail.com