Re: Postgresql problem with update double precision

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: Postgresql problem with update double precision
Дата
Msg-id CAKt_Zfsxfjx4fhJ-545Lij1o-LHWOdfsLVfLnH1xUTwCLk1=aQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql problem with update double precision  ("Igor Neyman" <ineyman@perceptron.com>)
Список pgsql-general
On Fri, Aug 5, 2011 at 7:32 AM, Igor Neyman <ineyman@perceptron.com> wrote:

> If you want to avoid your problem, switch to NUMERIC(precision, scale), which is precise data type.
> Alter the type of your "double" columns.
>
I'd suggest NUMERIC without specifying precision or scale.  That gives
you the most flexibility.  I would only specify precision and scale if
these are to be enforced on data input.

Best Wishes,
Chris Travers

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

Предыдущее
От: senthilnathan
Дата:
Сообщение: Overhead on while doing pg_start_backup
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Is there a better way to unnest an entire row?