Re: BCD format

Поиск
Список
Период
Сортировка
От Christopher Browne
Тема Re: BCD format
Дата
Msg-id m3u0q420z1.fsf@knuth.knuth.cbbrowne.com
обсуждение исходный текст
Ответ на BCD format  (stefari@tiscali.it)
Список pgsql-general
stefari@tiscali.it wrote:
> Hi all !
> I have to create a table with a BCD formatted field.
> Can Postrgresql to support this field's type or I have to insert it in binary
> mode???

Have you considered using a NUMERIC field instead?  That supports
exact fixed point arithmetic, much like BCD.

And I don't think that C compilers commonly support a BCD type, so if
you emulated it, you'd be left doing quite a lot of work to make a
type that wouldn't be terribly efficient.
--
output = reverse("gro.mca" "@" "enworbbc")
http://linuxfinances.info/info/emacs.html
"Popularity is the hallmark of mediocrity."  --Niles Crane, "Frasier"

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

Предыдущее
От: Matthew Terenzio
Дата:
Сообщение: Fwd: Advice on moving rows to history
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and pgpool