Re: Few comments on commit 857f9c36 (skip full index scans )

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Sawada Masahiko <sawada(dot)mshk(at)gmail(dot)com>
Subject: Re: Few comments on commit 857f9c36 (skip full index scans )
Date: 2018-05-30 15:39:29
Message-ID: 2673add3-a9c4-2c89-8575-7a59ebf92590@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The metapage upgrade should be performed under critical section.

Agree. But after close look I found that btm_version change isn't wal-logged
(near line 2251 in _bt_newroot). So btm_version is not propagated to
replica/backup/etc.
I believe it should be fixed.

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2018-05-30 15:44:03 Re: Proposal: Partitioning Advisor for PostgreSQL
Previous Message Michael Paquier 2018-05-30 15:22:47 Re: PATCH pass PGOPTIONS to pg_regress