Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C8CEF9FBCA2 for ; Tue, 29 May 2007 23:46:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 29016-04 for ; Tue, 29 May 2007 23:46:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from smtp.sifycorp.com (smtp.sifycorp.com [202.144.77.55]) by postgresql.org (Postfix) with ESMTP id 850169FBB93 for ; Tue, 29 May 2007 23:46:23 -0300 (ADT) Received: (sifymail 24289 invoked by uid 507); 30 May 2007 08:16:18 +0530 Received: from 10.1.8.85 (HELO smtp.sifycorp.com) (10.1.8.85) by 10.1.8.85 with ESMTP; 30 May 2007 08:16:18 +0530 X-QHPSI: clean Received: (sifymail 24273 invoked by uid 507); 30 May 2007 08:16:17 +0530 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=corporate; d=sifycorp.com; b=VR8xR0Y+8h4sqb8bb+JBLho7Ymklz/qo/6MZsrKHUwYCHb+gRhV+cp9IVZH5OcWI ; Received: from 210.210.122.121 (HELO ?210.210.122.121?) (j_mageshwaran@sifycorp.com@210.210.122.121) by 10.1.8.85 with ESMTPA; 30 May 2007 08:16:17 +0530 Message-ID: <465CE537.9020903@sifycorp.com> Date: Wed, 30 May 2007 08:15:11 +0530 From: Mageshwaran User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Problem with timestamp Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.297 tagged_above=0 required=5 tests=AWL=-1.194, BAYES_50=0.001, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, DNS_FROM_RFC_WHOIS=1.447, FORGED_RCVD_HELO=0.135 X-Spam-Level: ** X-Archive-Number: 200705/311 X-Sequence-Number: 25631 Hi, We have our application which uses postgres 7.1.3 version in that we use a time functions like now(),timestamp..... etc mostly timestamp without timezone.We don't need the timezone in that variable so we ignore it using timestamp without timezone. The same is not working with higher versions.We are facing problems in migration. We are able to store the dates in the database but while retrieving the driver is not able to retrieve. We found a temporary change by replacing all the time functions to localtimestamp() but we have to do code change for that. Can we have any other solution where we don't have to change our code and that should accept all types of time values without timezone? Regards, Magesh ********** DISCLAIMER ********** Information contained and transmitted by this E-MAIL is proprietary to Sify Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at admin@sifycorp.com