Re: [COMMITTERS] pgsql: Remove secondary checkpoint

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: [COMMITTERS] pgsql: Remove secondary checkpoint
Дата
Msg-id CAA4eK1LRFmSDwheRtcoOkBz9M96_E_iwPXmd828pNAM4AAiymA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Remove secondary checkpoint  (Andreas Seltenreich <seltenreich@gmx.de>)
Ответы Re: [COMMITTERS] pgsql: Remove secondary checkpoint  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-committers
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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Parameter toast_tuple_target controls TOAST for new rows
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Pass eflags down to parallel workers.