From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Set synchronous_commit=on in test_setup.sql.
Date: Sat, 12 Mar 2022 22:17:40 +0000
Message-ID: <E1nTA3P-000TMU-Le@gemulon.postgresql.org> (raw)
Set synchronous_commit=on in test_setup.sql.
Starting in cc50080a82 create_index test fails when run with
synchronous_commit=off. synchronous_commit=off delays when hint bits may be
set. Some plans change depending on the number of all-visible pages, which in
turn can be influenced by the delayed hint bits.
Force synchronous_commit to `on` in test_setup.sql. Not very satisfying, but
there's no obvious alternative.
Reported-By: Aleksander Alekseev <aleksander@timescale.com>
Author: Andres Freund <andres@anarazel.de>
Author: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://www.postgresql.org/message-id/flat/CAJ7c6TPJNof1Q+vJsy3QebgbPgXdu2ErPvYkBdhD6_Ckv5EZRg@mail....
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/02fea8fdda6531f34305b445f92f5b62241329b3
Modified Files
--------------
src/test/regress/expected/test_setup.out | 7 +++++++
src/test/regress/sql/test_setup.sql | 8 ++++++++
2 files changed, 15 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Set synchronous_commit=on in test_setup.sql.
In-Reply-To: <E1nTA3P-000TMU-Le@gemulon.postgresql.org>
References: <E1nTA3P-000TMU-Le@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox