From: Greg Campbell <greg.campbell@us.michelin.com>
To: Walker Jed S <Jed_Walker@cable.comcast.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Set timezone in ODBC
Date: Thu, 09 Jun 2005 12:11:14 -0400
Message-ID: <42A86A22.3000304@us.michelin.com> (raw)
In-Reply-To: <4A59B6AA01F1874283EA66C976ED51FC0E1AE0@COENGEXCMB01.cable.comcast.com>
References: <4A59B6AA01F1874283EA66C976ED51FC0E1AE0@COENGEXCMB01.cable.comcast.com>
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
>
Attachments:greg.campbell.vcf (text/x-vcard, 239B) download
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: greg.campbell@us.michelin.com, Jed_Walker@cable.comcast.com
Subject: Re: Set timezone in ODBC
In-Reply-To: <42A86A22.3000304@us.michelin.com>
References: <4A59B6AA01F1874283EA66C976ED51FC0E1AE0@COENGEXCMB01.cable.comcast.com> <42A86A22.3000304@us.michelin.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox