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.98.2) (envelope-from ) id 1xROfF-00000000vz1-29TG for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Nov 2026 06:52:06 +0000 Received: from localhost ([127.0.0.1]:52082 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xROfD-0000000FMYT-0icT for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Nov 2026 06:52:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]:42806) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xROfC-0000000FMYK-3BYz for pgsql-bugs@lists.postgresql.org; Thu, 12 Nov 2026 06:52:02 +0000 Received: from mail.postgrespro.ru ([93.174.132.70]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xROfA-00000000VBu-0V5O for pgsql-bugs@lists.postgresql.org; Thu, 12 Nov 2026 06:52:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1794466316; bh=ZlwlIW2+raAx6FWZBdmOBoALX8Bc83EX9ydIt0PkX+E=; h=From:Subject:Date:References:To:In-Reply-To:Message-Id:From; b=XDOoZMIgjkwjmzz9edDV+0MihoyPahKQJlThlBPhvCnapEFvP2U6JNufM6Td6vbNr yNRiw7lGNI0XOafn+Tq+TQnD2XUzwFzLvphkICpuum5NPzNlogmSuWN2lc3a1DqX5v MlOQP2ppAiv3lExyaUPI9Sj2Zac2w/CzhnwSD6HM0o9lW08CcchxU/HZr1LT/hLRkI b6UrAe+JwbgLp4kz9XIi+qAyiPFiXqbEkIaFnE1sItcLZk4KWjc+2JSUX38LroihSy UTo9+6k+DmyNkMnPxR4OKIu0PA7YD7n8q34nBljAWCeDUwIZPLI3iT44oSGfmxLCeZ 5OHHEX6KlwEvQ== Received: from smtpclient.apple (debian11-template.l.postgrespro.ru [192.168.2.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: s.shinderuk@postgrespro.ru) by mail.postgrespro.ru (Postfix/465) with ESMTPSA id 0FBDC60821; Thu, 12 Nov 2026 09:51:56 +0300 (MSK) From: =?utf-8?B?0KHQtdGA0LPQtdC5INCo0LjQvdC00LXRgNGD0Lo=?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.700.51.1.3\)) Subject: Re: BUG #19894: CREATE DATABASE logs all-zeros visibility map Date: Thu, 12 Nov 2026 09:51:45 +0300 References: <19894-9d785d87407234dc@postgresql.org> To: s.shinderuk@postgrespro.ru, pgsql-bugs@lists.postgresql.org In-Reply-To: <19894-9d785d87407234dc@postgresql.org> Message-Id: X-Mailer: Apple Mail (2.3864.700.51.1.3) X-KSMG-AntiPhishing: NotDetected, bases: 2026/11/12 06:22:00 X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 3.0.0.9059, bases: 2026/11/12 05:23:00 #28855268 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > 12 =D0=BD=D0=BE=D1=8F=D0=B1. 2026=E2=80=AF=D0=B3., =D0=B2 03:49, PG = Bug reporting form =D0=BD=D0=B0=D0=BF=D0=B8=D1=81= =D0=B0=D0=BB(=D0=B0): >=20 > The following bug has been logged on the website: >=20 > Bug reference: 19894 > Logged by: Sergey Shinderuk > Email address: s.shinderuk@postgrespro.ru > PostgreSQL version: 17.11 > Operating system: Ubuntu 24.04 > Description: =20 >=20 > Hello, >=20 > after CREATE DATABASE on a primary > select * from pg_visibility_map('pg_class') > blkno | all_visible | all_frozen > -------+-------------+------------ > 0 | t | t > 1 | t | t > 2 | t | t > 3 | t | t > 4 | t | t > 5 | t | t > 6 | t | t > 7 | t | t > 8 | t | t > 9 | t | t > 10 | t | t > 11 | t | t > 12 | t | t > 13 | t | t > (14 rows) >=20 > but on a standby: > blkno | all_visible | all_frozen > -------+-------------+------------ > 0 | f | f > 1 | f | f > 2 | f | f > 3 | f | f > 4 | f | f > 5 | f | f > 6 | f | f > 7 | f | f > 8 | f | f > 9 | f | f > 10 | f | f > 11 | f | f > 12 | f | f > 13 | f | f > (14 rows) Sorry, looks like it's a known issue: = https://www.postgresql.org/message-id/CAAKRu_bK7oJvtrrzL_V-OHouCWDKyU2-ERv= +QvV6XM9Wh2dpUg@mail.gmail.com = https://www.postgresql.org/message-id/CAAKRu_aaP%3D0GZe%2BD721byOM9Vwjtu94= VdAE_em0PNC0r3EK2zg%40mail.gmail.com Didn't follow the discussion yet.=