pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Zubkovsky, Sergey <Sergey.Zubkovsky@transas.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: timestamp as varchar(23)
Date: Thu, 14 Feb 2008 09:18:29 +0900
Message-ID: <47B388D5.5040007@tpf.co.jp> (raw)
In-Reply-To: <528853D3C5ED2C4AA8990B504BA7FB850106DEFB@sol.transas.com>
References: <528853D3C5ED2C4AA8990B504BA7FB850106DEFB@sol.transas.com>

Zubkovsky, Sergey wrote:
> Hi,
> 
> I’m trying to get some “timestamp without time zone” column’s value as a 
> varchar(23) value.
> 
> The SQLBindCol() function is used for this purpose in my C++ app.
> 
> However the result string doesn’t contain milliseconds part at all while 
> the real column’s value contains it ('2007-12-23 10:00:01.123' for 
> example).
> 
> After SQLFetch() the result’s buffer contains '2007-12-23 10:00:01’ only.

could you try the driver on testing for 8.030101 at
	http://www.geocities.jp/inocchichichi/psqlodbc/index.html
?

regards,
Hiroshi Inoue




view thread (3+ messages)  latest in thread

Message-ID: <47B388D5.5040007@tpf.co.jp>
Permalink:  ../47B388D5.5040007@tpf.co.jp/
Also on:    postgresql.org/message-id/47B388D5.5040007@tpf.co.jp

 · 

reply

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: inoue@tpf.co.jp, Sergey.Zubkovsky@transas.com
  Subject: Re: timestamp as varchar(23)
  In-Reply-To: <47B388D5.5040007@tpf.co.jp>
  References: <528853D3C5ED2C4AA8990B504BA7FB850106DEFB@sol.transas.com> <47B388D5.5040007@tpf.co.jp>

* 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