Max Precision/Scale of Postgres Numeric Type?

Поиск
Список
Период
Сортировка
От Byron Nikolaidis
Тема Max Precision/Scale of Postgres Numeric Type?
Дата
Msg-id 3894790D.3B0D324@home.com
обсуждение исходный текст
Ответы Re: [INTERFACES] Max Precision/Scale of Postgres Numeric Type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
Hi all,

I'm implementing the Postgres Numeric Type in the odbc driver, and was
wondering what the maximum precision and scale for the postgres
"numeric" type is?  It seems pretty huge -- I tried numeric(150, 100 )
with no problem!

Note, this is not the precision/scale returned in the atttypmod field
which I use for SQLColumns and SQLDescribeCol/SQLColAttributes, but for
the SQLGetTypeInfo odbc function, which needs maximums for the data type
itself.

Thanks,

Byron


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

Предыдущее
От: Frank Joerdens
Дата:
Сообщение: ODBC and BLOBs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] Max Precision/Scale of Postgres Numeric Type?