Re: Assert in pageinspect with NULL pages - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Assert in pageinspect with NULL pages
Date
Msg-id Yg4ODRoskPWvW1EO@paquier.xyz
Whole thread Raw
In response to Assert in pageinspect with NULL pages  (Daria Lepikhova <d.lepikhova@postgrespro.ru>)
List pgsql-hackers
On Thu, Feb 17, 2022 at 01:46:40PM +0500, Daria Lepikhova wrote:
> INSERT INTO test1(y) SELECT 0 FROM generate_series(1,1E6) AS x;
> SELECT page_checksum(repeat(E'\\000', 8192)::bytea, 1);

Indeed.  Good catch, and that seems pretty old at quick glance for the
checksum part.  I'll try to look at all that tomorrow.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c)
Next
From: Amit Kapila
Date:
Subject: Re: Failed transaction statistics to measure the logical replication progress