pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <amit.kapila16@gmail.com>
To: Andreas Seltenreich <seltenreich@gmx.de>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>
Subject: Re: [COMMITTERS] pgsql: Remove secondary checkpoint
Date: Mon, 20 Nov 2017 19:08:28 +0530
Message-ID: <CAA4eK1LRFmSDwheRtcoOkBz9M96_E_iwPXmd828pNAM4AAiymA@mail.gmail.com> (raw)
In-Reply-To: <878tfcsp1t.fsf@ansel.ydns.eu>
References: <E1eC87v-0008E6-Ih@gemulon.postgresql.org>
	<878tfcsp1t.fsf@ansel.ydns.eu>

On Sat, Nov 11, 2017 at 10:58 PM, Andreas Seltenreich
<seltenreich@gmx.de> wrote:
> 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.
>


Your patch looks correct to me.  I can reproduce the problem and
verified that patch fixes the problem.  It is better to track this in
CF if not already tracked.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com




view thread (13+ messages)  latest in thread

Message-ID: <CAA4eK1LRFmSDwheRtcoOkBz9M96_E_iwPXmd828pNAM4AAiymA@mail.gmail.com>
Permalink:  ../CAA4eK1LRFmSDwheRtcoOkBz9M96_E_iwPXmd828pNAM4AAiymA@mail.gmail.com/
Also on:    postgresql.org/message-id/CAA4eK1LRFmSDwheRtcoOkBz9M96_E_iwPXmd828pNAM4AAiymA@mail.gmail.com

 · 

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

* 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