Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaLdv-0005KP-TK for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Apr 2014 08:56:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WaLdv-0000nx-Ba for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Apr 2014 08:56:31 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaLdt-0000nE-Ox for pgsql-hackers@postgresql.org; Wed, 16 Apr 2014 08:56:29 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaLdr-0007p9-0n for pgsql-hackers@postgresql.org; Wed, 16 Apr 2014 08:56:29 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WaLdq-0005j7-03 for pgsql-hackers@postgresql.org; Wed, 16 Apr 2014 01:56:26 -0700 Date: Wed, 16 Apr 2014 01:56:25 -0700 (PDT) From: amulsul To: pgsql-hackers@postgresql.org Message-ID: <1397638585996-5800219.post@n5.nabble.com> In-Reply-To: <534DF639.7090705@gmail.com> References: <534DF639.7090705@gmail.com> Subject: Re: The question about the type numeric MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 2.8 (++) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org >But the sign is 0. >So is there anything wrong? have look in src/backend/utils/adt/numeric.c @ 154 & 155 for POS & NEG defination given as 154 #define NUMERIC_POS 0x0000 155 #define NUMERIC_NEG 0x4000 Regards, Amul Sul -- View this message in context: http://postgresql.1045698.n5.nabble.com/The-question-about-the-type-numeric-tp5800180p5800219.html Sent from the PostgreSQL - hackers mailing list archive at Nabble.com. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers