Re: How useful is the money datatype?

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: "pgsql-general(at)postgresql(dot)org mailing list" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How useful is the money datatype?
Date: 2009-10-05 20:07:16
Message-ID: 95EDE128-E5CF-490B-AB6D-CAC4E004A249@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A quick check of the source code (src/backend/utils/adt/numeric.c)
shows it's base 10000, each "digit" represented as an int16. It's not
strictly speaking BCD, but there's no computational difference.

--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2009-10-05 20:40:44 Re: Limit of bgwriter_lru_maxpages of max. 1000?
Previous Message Bruce Momjian 2009-10-05 19:55:10 Re: How useful is the money datatype?