Re: [COMMITTERS] pgsql: Remove secondary checkpoint - Mailing list pgsql-committers

From Andreas Seltenreich
Subject Re: [COMMITTERS] pgsql: Remove secondary checkpoint
Date
Msg-id 878tfcsp1t.fsf@ansel.ydns.eu
Whole thread Raw
In response to [COMMITTERS] pgsql: Remove secondary checkpoint  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: [COMMITTERS] pgsql: Remove secondary checkpoint
List pgsql-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

-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Attachment

pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Account for the effect of lossy pages when costing bitmapscans.
Next
From: Noah Misch
Date:
Subject: [COMMITTERS] pgsql: Ignore XML declaration in xpath_internal(), for UTF8 databases.