Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCvCa-0000BM-Il for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Nov 2017 22:21:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eCvCa-0006BN-5U for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Nov 2017 22:21:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eCvCZ-0006B8-RV for pgsql-bugs@postgresql.org; Thu, 09 Nov 2017 22:21:35 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eCvCG-0003sX-1X for pgsql-bugs@postgresql.org; Thu, 09 Nov 2017 22:21:33 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id vA9ML8N24500; Thu, 9 Nov 2017 14:21:08 -0800 Subject: Re: BUG #14894: Data Type Money To: tfredy02@gmail.com, pgsql-bugs@postgresql.org References: <20171109194846.31513.89896@wrigleys.postgresql.org> From: John R Pierce Message-ID: Date: Thu, 9 Nov 2017 14:21:02 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171109194846.31513.89896@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 11/9/2017 11:48 AM, tfredy02@gmail.com wrote: > Hello. > I'm Migrate from sql server but have a problem with the data type Money. > I Was investigate and found the same data so much in sql server as > postgresql but has a difference is the point decimal too investigate data > type numeric(19,4) might use this, but i need use money with four decimal, > Thank. > I hope you can help me. > > Sql Server -922337203685477.5808 to 922,337,203,685,477.5807 > > Postgresql -92233720368547758.08 to +92233720368547758.07 use NUMERIC(19,4)...    the MONEY type really should be deprecated -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs