pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit.
Date: Thu, 02 Feb 2017 23:00:19 -0500
Message-ID: <18461.1486094419@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmobbOWS6KLR-WEK7xqdJmo=dMSLL3Yueh5UwwYnAdDoUGg@mail.gmail.com>
References: <E1cZUc7-0001gM-ES@gemulon.postgresql.org>
	<16740.1486093251@sss.pgh.pa.us>
	<CA+TgmobbOWS6KLR-WEK7xqdJmo=dMSLL3Yueh5UwwYnAdDoUGg@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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

inline patch 1: /Users/tgl/pgsql/contrib/pageinspect/results/hash.out Thu Feb 2 22:55:43 2017 (+2/-2 lines) download inline-1.patch*** /Users/tgl/pgsql/contrib/pageinspect/expected/hash.out Thu Feb 2 21:30:54 2017 --- /Users/tgl/pgsql/contrib/pageinspect/results/hash.out Thu Feb 2 22:55:43 2017 *************** *** 52,58 **** magic | 105121344 version | 2 ntuples | 1 ! ffactor | 307 bsize | 8152 bmsize | 4096 bmshift | 15 --- 52,58 ---- magic | 105121344 version | 2 ntuples | 1 ! ffactor | 384 bsize | 8152 bmsize | 4096 bmshift | 15 *************** *** 107,113 **** live_items | 1 dead_items | 0 page_size | 8192 ! free_size | 8128 hasho_prevblkno | 4294967295 hasho_nextblkno | 4294967295 hasho_bucket | 2 --- 107,113 ---- live_items | 1 dead_items | 0 page_size | 8192 ! free_size | 8132 hasho_prevblkno | 4294967295 hasho_nextblkno | 4294967295 hasho_bucket | 2
====================================================================== 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? 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

view thread (22+ messages)  latest in thread

Message-ID: <18461.1486094419@sss.pgh.pa.us>
Permalink:  ../18461.1486094419@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18461.1486094419@sss.pgh.pa.us

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com
  Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit.
  In-Reply-To: <18461.1486094419@sss.pgh.pa.us>
  References: <E1cZUc7-0001gM-ES@gemulon.postgresql.org> <16740.1486093251@sss.pgh.pa.us> <CA+TgmobbOWS6KLR-WEK7xqdJmo=dMSLL3Yueh5UwwYnAdDoUGg@mail.gmail.com> <18461.1486094419@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox