Re: BUG #16285: bt_metap fails with value is out of range for type integer - Mailing list pgsql-bugs

From Peter Geoghegan
Subject Re: BUG #16285: bt_metap fails with value is out of range for type integer
Date
Msg-id CAH2-Wz=esJqUO_QTasnjGPHvER7Bo5iac04UgUqR7V7N-YPMDg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #16285: bt_metap fails with value is out of range for type integer  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: BUG #16285: bt_metap fails with value is out of range for type integer  (Victor Yegorov <vyegorov@gmail.com>)
Re: BUG #16285: bt_metap fails with value is out of range for typeinteger  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
On Fri, Mar 6, 2020 at 2:23 PM Peter Geoghegan <pg@bowt.ie> wrote:
> This has to be the oldest_xact field. If it was any of the other
> fields, the "%d" format would not result in an error (it would just
> result in incorrectly displaying a negative integer). oldest_xact is
> the only field that uses "%u" (unfortunately, the declaration makes
> the field an int4/integer, so you may see this error).

Pushed a fix for this just now.

Thanks for the report!

--
Peter Geoghegan



pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: BUG #16285: bt_metap fails with value is out of range for type integer
Next
From: Victor Yegorov
Date:
Subject: Re: BUG #16285: bt_metap fails with value is out of range for type integer