Re: BUG #19894: CREATE DATABASE logs all-zeros visibility map

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: s(dot)shinderuk(at)postgrespro(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19894: CREATE DATABASE logs all-zeros visibility map
Date: 2026-11-12 17:40:30
Message-ID: 7D9722EF-48D8-4727-BD0D-FB526D807F97@thebuild.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> 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)
>
> 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)

Why is this a bug?

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2026-11-12 18:15:11 Re: BUG #19887: cube expression index returns wrong rows after extra_float_digits change
Previous Message Tom Lane 2026-11-12 17:33:28 Re: BUG #19885: pg_input_is_valid(tsquery) throws stack depth error instead of returning false