Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit. - Mailing list pgsql-committers

From Robert Haas
Subject Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.
Date
Msg-id CA+TgmoZLfE6_RiXSPWfneOXwsrwcryr_bPua=8mVoTnh-hk2AQ@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On Thu, Feb 2, 2017 at 11:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Ugh, yes.  Sorry, I should have checked this more carefully before
>> commit.  I mentioned the problem in a previous review and failed to
>> notice that it hadn't been fixed.  Are you taking care of it at this
>> point or should I keep at it?
>
> 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.

> but there is still a problem, which is that the
> expected output seems inherently platform-dependent:
>
> 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 *?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix a bunch more portability bugs in commit 08bf6e529.