Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOwNA-0025GX-Hr for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jul 2024 09:33:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sOwN8-007EFw-5K for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jul 2024 09:33:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOwN7-007EFo-Rw for pgsql-hackers@lists.postgresql.org; Wed, 03 Jul 2024 09:33:54 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOwN5-000C7U-Ec for pgsql-hackers@lists.postgresql.org; Wed, 03 Jul 2024 09:33:53 +0000 Received: from [192.168.11.8] (p4447245-ipxg14001funabasi.chiba.ocn.ne.jp [153.195.220.245]) by oss.nttdata.com (Postfix) with ESMTPSA id C8FE16187D for ; Wed, 3 Jul 2024 18:33:44 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Content-Type: multipart/mixed; boundary="------------KOIAHKUdYNRQNzkdwh09azax" Message-ID: <90980ee6-2da6-42f6-a7b0-b7bae62ae279@oss.nttdata.com> Date: Wed, 3 Jul 2024 18:33:44 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: pgsql-hackers@lists.postgresql.org Content-Language: en-US From: Fujii Masao Subject: pg_wal_summary_contents() and pg_walsummary may return different results on the same WAL summary file List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------KOIAHKUdYNRQNzkdwh09azax Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I found that pg_wal_summary_contents() may miss some results that pg_walsummary returns for the same WAL summary file. Here are the steps to reproduce the issue: ----------------------------- initdb -D data echo "summarize_wal = on" >> data/postgresql.conf pg_ctl -D data start psql <