X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2A88E5292E for ; Thu, 9 Jun 2005 13:11:42 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55198-01 for ; Thu, 9 Jun 2005 16:11:36 +0000 (GMT) Received: from gk-us2.michelin.com (gk-us2.michelin.com [156.65.14.19]) by svr1.postgresql.org (Postfix) with ESMTP id 05D5E52921 for ; Thu, 9 Jun 2005 13:11:34 -0300 (ADT) Received: from ONCMH1.onc.michelin.com (unverified) by gk-us2.michelin.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Thu, 9 Jun 2005 12:10:51 -0400 Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Thu, 9 Jun 2005 12:05:04 -0400 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IHTRMS00.AS9 for ; Thu, 9 Jun 2005 12:11:16 -0400 Received: from [156.65.151.174] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Thu, 9 Jun 2005 12:11:15 -0400 Message-Id: <42A86A22.3000304@us.michelin.com> Date: Thu, 09 Jun 2005 12:11:14 -0400 From: "Greg Campbell" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Walker Jed S" Cc: pgsql-odbc@postgresql.org Subject: Re: Set timezone in ODBC References: <4A59B6AA01F1874283EA66C976ED51FC0E1AE0@COENGEXCMB01.cable.comcast.com> In-Reply-To: <4A59B6AA01F1874283EA66C976ED51FC0E1AE0@COENGEXCMB01.cable.comcast.com> Content-Type: multipart/mixed; boundary="------------050704090705020609090000" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/47 X-Sequence-Number: 5434 This is a multi-part message in MIME format. --------------050704090705020609090000 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Interesting question. It makes me wonder, is ODBC supposed to be a smart pipe or a dumb pipe. So I ask, it the timestamp being sent, a simple one, with no indication of timezone. The postgreSQL has a syntax for timestamps with timezones hh:mm:ss+/-hh:mm eg (10:30:21-08:00, 09:35:17+05:00). see PostgreSQL User's guide in the documentation as PDF - just look up datatypes Date and Times. Could the client do the translation to UTC/GMT, and that be what is transmitted. It seems that the areas DBMSs vary most are DDL (data definition lanaguage) and DateTime signification. Walker, Jed S wrote: > We have just setup our first PostgreSQL system. We have a vendor product > that connects via ODBC. That vendor product needs to talk in a different > timezone than our database server is at. How can you specify a timezone > to use through ODBC? > > > Jed S. Walker > --------------050704090705020609090000 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America - US5 Lexington;ENG-ASE email;internet:greg.campbell@us.michelin.com title:ASE Systems Engineer tel;work:803-951-5561/x75561 x-mozilla-html:FALSE version:2.1 end:vcard --------------050704090705020609090000--