pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Seltenreich <seltenreich@gmx.de>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: pgsql-committers@postgresql.org, Michael Paquier <michael.paquier@gmail.com>
Subject: Re: pgsql: Remove secondary checkpoint
Date: Sat, 11 Nov 2017 18:28:14 +0100
Message-ID: <878tfcsp1t.fsf@ansel.ydns.eu> (raw)
In-Reply-To: <E1eC87v-0008E6-Ih@gemulon.postgresql.org>
References: <E1eC87v-0008E6-Ih@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Hi,

sqlsmith doesn't like commit 4b0d28de06:

,----
| regression=> select * from pg_control_checkpoint();
| server closed the connection unexpectedly
| TRAP: FailedAssertion("!((atti->attalign) == 's')", File: "heaptuple.c", Line: 126)
`----

On a build with assertions disabled, the statement fails with an error
instead:

,----
| regression=> select * from pg_control_checkpoint();
| ERROR:  function return row and query-specified return row do not match
| DETAIL:  Returned row contains 19 attributes, but query expects 18.
`----

The attached patch fixes it for me.

regards,
Andreas

Attachments:

  0001-Fix-pg_control_checkpoint.patch (text/x-diff, 0B) download

view thread (13+ messages)  latest in thread

Message-ID: <878tfcsp1t.fsf@ansel.ydns.eu>
Permalink:  ../878tfcsp1t.fsf@ansel.ydns.eu/
Also on:    postgresql.org/message-id/878tfcsp1t.fsf@ansel.ydns.eu

 ·  · 

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: seltenreich@gmx.de, simon@2ndQuadrant.com, michael.paquier@gmail.com
  Subject: Re: pgsql: Remove secondary checkpoint
  In-Reply-To: <878tfcsp1t.fsf@ansel.ydns.eu>
  References: <E1eC87v-0008E6-Ih@gemulon.postgresql.org> <878tfcsp1t.fsf@ansel.ydns.eu>

* 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