From: Dmitriy Ivanov <divanov-NOSP@M-aha.ru>
To: pgsql-odbc@postgresql.org
Subject: Re: Q: Buffer size for SQL_DOUBLE to SQL_C_CHAR conversion
Date: Fri, 22 Sep 2006 09:43:43 +0400
Message-ID: <ef02oq$1e31$1@news.hub.org> (raw)
References: <eeu88t$16lm$1@news.hub.org>
I wrote:
DI> |...snip...|
DI> This length is exceeds 15, the decimal precision returned by
DI> SQLGetTypeInfo(hstmt,SQL_DOUBLE).
DI>
DI> What is the maximum size of the character buffer I have to
DI> allocate?
After diving into MSDN, just answering myself: the display size should come
to play.
Sorry for the noise.
--
Sincerely,
Dmitriy Ivanov
Common Lisp ODBC interface - lisp.ystok.ru/ysql.html
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: divanov-NOSP@M-aha.ru
Subject: Re: Q: Buffer size for SQL_DOUBLE to SQL_C_CHAR conversion
In-Reply-To: <ef02oq$1e31$1@news.hub.org>
References: <eeu88t$16lm$1@news.hub.org> <ef02oq$1e31$1@news.hub.org>
* 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