Re: bug in pageinspect's "tuple data" feature

2020-11-24 Thread Robert Haas
On Sat, Nov 21, 2020 at 2:32 PM Alvaro Herrera wrote: > If you have a sufficiently broken data page, pageinspect throws an > error when trying to examine the page: > > ERROR: invalid memory alloc request size 18446744073709551451 > > This is pretty unhelpful; it would be better not to try to prin

Re: bug in pageinspect's "tuple data" feature

2020-11-24 Thread Alvaro Herrera
On 2020-Nov-24, Michael Paquier wrote: > On Mon, Nov 23, 2020 at 09:11:26AM +0200, Heikki Linnakangas wrote: > > On 21/11/2020 21:32, Alvaro Herrera wrote: > >> This is pretty unhelpful; it would be better not to try to print the > >> data instead of dying. With that, at least you can know where

Re: bug in pageinspect's "tuple data" feature

2020-11-23 Thread Michael Paquier
On Mon, Nov 23, 2020 at 09:11:26AM +0200, Heikki Linnakangas wrote: > On 21/11/2020 21:32, Alvaro Herrera wrote: >> This is pretty unhelpful; it would be better not to try to print the >> data instead of dying. With that, at least you can know where the >> problem is. >> >> This was introduced in

Re: bug in pageinspect's "tuple data" feature

2020-11-22 Thread Heikki Linnakangas
On 21/11/2020 21:32, Alvaro Herrera wrote: If you have a sufficiently broken data page, pageinspect throws an error when trying to examine the page: ERROR: invalid memory alloc request size 18446744073709551451 This is pretty unhelpful; it would be better not to try to print the data instead o