Re: Wrong numeric conversion

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Wrong numeric conversion
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4528442@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Wrong numeric conversion  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Andreas Pflug
> Sent: 16 January 2005 15:26
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Wrong numeric conversion
>
> With CVS HEAD, numeric values are not read correctly.
> The SQL_NUMERIC_STRUCT is filled with
> .precision=3, .scale=5 for a number like 500.00123, which
> MSDASQL will
> interpret as .00123 (noticed when MSDASQL had to convert it to a
> string). Obviously the precision should be 8 or more.
> The attached patch corrects this.

Thanks Andreas, patch applied.

Regards, Dave.

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Wrong numeric conversion
Следующее
От: "James M Doherty PGADMIN"
Дата:
Сообщение: Re: ODBC release plans?