Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UiZhb-0000yz-G5 for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Jun 2013 00:29:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UiZha-0004E5-TG for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Jun 2013 00:29:46 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UiZhZ-0004DA-Nx for pgsql-bugs@postgresql.org; Sat, 01 Jun 2013 00:29:45 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UiZhT-00052F-Ng for pgsql-bugs@postgresql.org; Sat, 01 Jun 2013 00:29:45 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r510TWl26734 for ; Fri, 31 May 2013 17:29:32 -0700 Message-ID: <51A9406B.9040908@hogranch.com> Date: Fri, 31 May 2013 17:29:31 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #8191: Wrong bit conversion References: <11097.1370036031@sss.pgh.pa.us> <7A3A36FE51533446AAB1EA0F6069AC8C40A5B460@HEXBOSSSERVER.hexboss.local> In-Reply-To: <7A3A36FE51533446AAB1EA0F6069AC8C40A5B460@HEXBOSSSERVER.hexboss.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -0.3 (/) 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 5/31/2013 4:29 PM, Gerald Luger wrote: > Shouldn't I expect all results to be 000...0001? > > Otherwise it would be > 1 != 1? SQL's BIT type is big endian, a hangover from its IBM mainframe heritage. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs