pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Harald Fuchs <hf118@protecting.net>
To: pgsql-admin@postgresql.org
Subject: Re: Alternative to "Money" ...
Date: 02 Feb 2004 17:50:47 +0100
Message-ID: <puk735bf2w.fsf@srv.protecting.net> (raw)
References: <20040130185513.64147.qmail@web13810.mail.yahoo.com>
	<20040130203122.GA1488@wolff.to>

In article <20040130203122.GA1488@wolff.to>,
Bruno Wolff III <bruno@wolff.to> writes:

> On Fri, Jan 30, 2004 at 10:55:13 -0800,
>   Chris Gamache <cgg007@yahoo.com> wrote:
>> Well, after living with the (depreciated) Money datatype for 5 years, I think
>> its finally time to say goodbye (and now that we have DROP COLUMN it'll be MUCH
>> easier transition). What's the preferred monetary datatype? numeric(10,2)?
>> float4? float8? We're dealing only with US Dollars.

> You probably just want plain numeric.

As long as you don't want to deal with the new US budget deficit,
storing cents in an INT or BIGINT column might perform better.




view thread (10+ messages)  latest in thread

Message-ID: <puk735bf2w.fsf@srv.protecting.net>
Permalink:  ../puk735bf2w.fsf@srv.protecting.net/
Also on:    postgresql.org/message-id/puk735bf2w.fsf@srv.protecting.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: hf118@protecting.net
  Subject: Re: Alternative to "Money" ...
  In-Reply-To: <puk735bf2w.fsf@srv.protecting.net>
  References: <20040130185513.64147.qmail@web13810.mail.yahoo.com> <20040130203122.GA1488@wolff.to> <puk735bf2w.fsf@srv.protecting.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox