Re: Precision of calculated numeric fields

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Precision of calculated numeric fields
Дата
Msg-id 961.960326406@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Precision of calculated numeric fields  (Travis Bauer <trbauer@indiana.edu>)
Список pgsql-general
Travis Bauer <trbauer@indiana.edu> writes:
> Is this the mod field of the Field class in JDBC2?

Sounds right, but I haven't looked at the JDBC code.

> Does -1 alway mean, for
> numeric types, that the precision is undefined?

Right.  In general, -1 is the default typmod if Postgres doesn't have
any better idea what to put in.  So type-specific code always has to
be prepared to do something reasonable with that typmod value ...

            regards, tom lane

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: getting inet out of char?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum Question