X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id EF317D1DB20 for ; Sat, 31 Jan 2004 04:45:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 08237-09 for ; Sat, 31 Jan 2004 00:45:41 -0400 (AST) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id DEE02D1DA74 for ; Sat, 31 Jan 2004 00:45:30 -0400 (AST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by www.postgresql.com (Postfix) with ESMTP id 94CD7CF53FE for ; Fri, 30 Jan 2004 21:39:22 -0400 (AST) Received: from iprimus.com.au (211.27.78.74) by smtp01.syd.iprimus.net.au (7.0.024) (authenticated as rjshaw) id 400C4DF4004994E8 for pgsql-admin@postgresql.org; Sat, 31 Jan 2004 12:40:14 +1100 Message-ID: <401B0738.7010706@iprimus.com.au> Date: Sat, 31 Jan 2004 12:39:04 +1100 From: Russell Shaw User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 Cc: pgsql-admin@postgresql.org Subject: Re: Alternative to "Money" ... References: <20040130185513.64147.qmail@web13810.mail.yahoo.com> <20040130203122.GA1488@wolff.to> In-Reply-To: <20040130203122.GA1488@wolff.to> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/305 X-Sequence-Number: 12168 Bruno Wolff III wrote: > On Fri, Jan 30, 2004 at 10:55:13 -0800, > Chris Gamache 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. http://www.postgresql.org/docs/7.4/interactive/datatype.html#DATATYPE-NUMERIC-DECIMAL