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 1uFUK9-0050cN-Di for pgsql-hackers@arkaria.postgresql.org; Thu, 15 May 2025 08:52:17 +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 1uFUK8-00DBEK-Ge for pgsql-hackers@arkaria.postgresql.org; Thu, 15 May 2025 08:52:16 +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 1uFUK8-00DBAt-6W for pgsql-hackers@lists.postgresql.org; Thu, 15 May 2025 08:52:16 +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.96) (envelope-from ) id 1uFUK4-00204u-11 for pgsql-hackers@lists.postgresql.org; Thu, 15 May 2025 08:52:15 +0000 Received: from oss.nttdata.com (localhost [127.0.0.1]) by oss.nttdata.com (Postfix) with ESMTPA id 47DA5615C3 for ; Thu, 15 May 2025 17:52:06 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_7130c7777b1526c1745c25927c5b7a5d" Content-Transfer-Encoding: 7bit Date: Thu, 15 May 2025 17:52:06 +0900 From: Masahiro Ikeda To: PostgreSQL Hackers Subject: Assertion failure in smgr.c when using pg_prewarm with partitioned tables User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: ikedamsh@oss.nttdata.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=_7130c7777b1526c1745c25927c5b7a5d Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, I encountered an assertion failure when a partitioned table is specified as an argument to pg_prewarm. Below are the steps to reproduce the issue: $ pgbench -i -s 1 --partitions=3 $ psql <