Re: Precision and scale of numeric column reported as value

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Precision and scale of numeric column reported as value
Дата
Msg-id 20050323132342.Q91219@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: Precision and scale of numeric column reported as value  (Sergio Lob <Sergio_Lob@iwaysoftware.com>)
Список pgsql-bugs
On Wed, 23 Mar 2005, Sergio Lob wrote:

> Precision is the number of total digits in the number. Scale is the
> number of  fractional digits.
> For instance, a column defined as NUMERIC(10,3)  should return
> precision=10, scale=3. The error only occurs for a column defined as
> NUMERIC  (without precision or scale specified). Presumably, there is a
> default precision and scale assigned to the column by postgreSQL, which
> is not -1.

IIRC, there is not a default precision and scale assigned to the column.
It's treated as having an unspecified precision and scale.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Precision and scale of numeric column reported as value
Следующее
От: Andrew - Supernews
Дата:
Сообщение: Re: BUG #1552: massive performance hit between 7.4 and 8.0.1