Re: Assert in pageinspect with NULL pages

2022-02-22 Thread Daria Lepikhova
hat Alexander Lakhin mentioned And here I need little more time to figure it out. And one more addition. In the previous version of the patch, I forgot to add tests for the gist index, but the described problem is also relevant for it. -- Daria Lepikhova Postgr

Re: Assert in pageinspect with NULL pages

2022-02-22 Thread Daria Lepikhova
cr(indexRel)->natts); for (attno = 1; attno <= bdesc->bd_tupdesc->natts; attno++) { Thanks! This is a very valuable note. I think I will definitely add it to the next version of the patch, as soon as I deal with the error exception. -- Daria Lepikhova Postgres Professional

Assert in pageinspect with NULL pages

2022-02-17 Thread Daria Lepikhova
ge_items(repeat(E'\\000', 8192)::bytea); for getting fail. I tried to make some additional checks for null pages into pageinspect' functions. The attached patch also contains tests for this case. What do you think? -- Daria Lepikhova Postgres Professional From 92d71d9b5c583f5f2733