Re: pgsql: pageinspect: Try to fix some bugs in previous commit.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit.
Date: 2017-02-03 04:03:21
Message-ID: CA+TgmoZLfE6_RiXSPWfneOXwsrwcryr_bPua=8mVoTnh-hk2AQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Thu, Feb 2, 2017 at 11:00 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)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 Content-Type Size
fixes.patch application/octet-stream 3.6 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-02-03 04:11:14 pgsql: Fix a bunch more portability bugs in commit 08bf6e529.
Previous Message Tom Lane 2017-02-03 04:00:19 Re: pgsql: pageinspect: Try to fix some bugs in previous commit.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-02-03 04:16:38 Re: pgsql: pageinspect: Try to fix some bugs in previous commit.
Previous Message Ashutosh Sharma 2017-02-03 04:00:25 Re: pageinspect: Hash index support