Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9DF65B5DC1B for ; Wed, 21 Sep 2011 10:35:46 -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 60859-02-3; Wed, 21 Sep 2011 13:35:40 +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-iy0-f174.google.com (mail-iy0-f174.google.com [209.85.210.174]) by mail.postgresql.org (Postfix) with ESMTP id 884E8B5DC6A; Wed, 21 Sep 2011 10:35:39 -0300 (ADT) Received: by iaqq3 with SMTP id q3so1699211iaq.19 for ; Wed, 21 Sep 2011 06:35:39 -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=YeyMNSSYIcTQZxmcKu228j367mo7Szy14Ia7WrSWaxc=; b=QYJnIEFYgWDvUSTw6LaePqMsrpaQp8dmhL8qY00LTu0k+P1xQ8ZembRLm8PJgn8B2O zkNvnxzGisK4KuzYR+OM4zJyQZ/ThjEC4wqYhJwUqgpvnSc7KoHzRYs5b2CoV7jGFwWP SD35DtODf+OTIEAf3dXTVxzCabCz8eixspA18= Received: by 10.231.28.36 with SMTP id k36mr1647077ibc.12.1316612139482; Wed, 21 Sep 2011 06:35:39 -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 by18sm6655617ibb.1.2011.09.21.06.35.37 (version=SSLv3 cipher=OTHER); Wed, 21 Sep 2011 06:35:38 -0700 (PDT) From: Adrian Klaver To: pgsql-general@postgresql.org Subject: Re: [GENERAL] Date time value error in Ms Access using pass through queries Date: Wed, 21 Sep 2011 06:35:34 -0700 User-Agent: KMail/1.13.5 (Linux/2.6.32-33-generic; KDE/4.4.5; i686; ; ) Cc: c k , "pgsql-admin" References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201109210635.35337.adrian.klaver@gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.889 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201109/153 X-Sequence-Number: 38390 On Wednesday, September 21, 2011 3:08:11 am c k wrote: > Hello, > > I got a error yesterday while I have updated my development database to 9.1 > from 9.0.4. I backed up my database from 9.0 and restored in 9.1. It well > successfully. When running a query which calls a function, having date > value as IN parameter, it gives me the error as date/time value out of > range. But when same query is executed using a database from 9.0.4 it runs > successfully without any error. Both databases have a variable > 'DateStyle=DMY' set. All connection parameters are same for both. What is > the problem? Does some thing is changed in 9.1 or I have to wait till new > ODBC driver is released? I am using four digit year format and regional > settings are set to use dd/mm/yyyy style on windows and MS access uses > them. Please give your reply. What is the actual error message? How did you install the 9.1 versus 9.0 databases? Related to the above question do the 9.0 and 9.1 have the same storage type (float or integer) for datetime values? > > Thanks and regards, > > C P Kulkarni -- Adrian Klaver adrian.klaver@gmail.com