Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZVIl-000828-Jm for pgsql-committers@arkaria.postgresql.org; Fri, 03 Feb 2017 04:16:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cZVIl-0005ej-6m for pgsql-committers@arkaria.postgresql.org; Fri, 03 Feb 2017 04:16:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZVIk-0005eS-HR for pgsql-committers@postgresql.org; Fri, 03 Feb 2017 04:16:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZVIe-0002og-0U for pgsql-committers@postgresql.org; Fri, 03 Feb 2017 04:16:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v134GclK019194; Thu, 2 Feb 2017 23:16:38 -0500 From: Tom Lane To: Robert Haas cc: pgsql-committers Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit. In-reply-to: References: <16740.1486093251@sss.pgh.pa.us> <18461.1486094419@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Thu, 02 Feb 2017 23:03:21 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19192.1486095398.1@sss.pgh.pa.us> Date: Thu, 02 Feb 2017 23:16:38 -0500 Message-ID: <19193.1486095398@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Robert Haas writes: > On Thu, Feb 2, 2017 at 11:00 PM, Tom Lane wrote: >> I'm about to push a fix that removes the crashes (or at least the ones >> I see on dromedary), > For comparison, a patch I wrote by inspection is attached. Hm, some of what you have here matches what I just pushed, but not all. I just made the C code agree with what the SQL declarations for the functions say. I'm pretty dubious that the SQL declarations are entirely sensible as to which values need to be of what width, but I'll leave that decision for somebody who's been paying closer attention to the hash code. >> I think probably both of those are unavoidable 32-bit v 64-bit >> differences due to available space on a page changing with MAXALIGN. >> What do you want to do about those? > How about we have the test just select a named list of fields instead > of selecting *? Yeah, that's one possible answer. We could also maintain two expected-files for 32 bit v 64 bit, but I'm not sure it's worth the trouble. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers