Re: pg_control_init() bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_control_init() bug
Date
Msg-id 16584.1576018008@sss.pgh.pa.us
Whole thread Raw
In response to pg_control_init() bug  ("Bossart, Nathan" <bossartn@amazon.com>)
Responses Re: pg_control_init() bug  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
"Bossart, Nathan" <bossartn@amazon.com> writes:
> I noticed that pg_control_init() is failing an assertion on 13devel:

Hmm, yeah.  In a non-assert build I get

regression=# select * from pg_control_init();
ERROR:  function return row and query-specified return row do not match
DETAIL:  Returned row contains 12 attributes, but query expects 11.

> The attached patch seems to clear this up.  I think this was missed in
> 2e4db241.

Evidently.  Thanks for the report!

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: xact_start for walsender & logical decoding not updated
Next
From: Jim Finnerty
Date:
Subject: Re: On disable_cost