Re: [COMMITTERS] pgsql: Remove secondary checkpoint

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-committers <pgsql-committers(at)postgresql(dot)org>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Subject: Re: [COMMITTERS] pgsql: Remove secondary checkpoint
Date: 2017-11-20 13:38:28
Message-ID: CAA4eK1LRFmSDwheRtcoOkBz9M96_E_iwPXmd828pNAM4AAiymA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sat, Nov 11, 2017 at 10:58 PM, Andreas Seltenreich
<seltenreich(at)gmx(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-11-20 17:03:41 pgsql: Pass eflags down to parallel workers.
Previous Message amul sul 2017-11-20 12:46:51 Re: [COMMITTERS] pgsql: Add hash partitioning.