PostgresNode::backup uses spread checkpoint?

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: PostgresNode::backup uses spread checkpoint?
Date: 2020-10-20 15:01:00
Message-ID: 20201020150100.GA18583@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I noticed a few days ago that method backup() in PostgresNode uses
pg_basebackup without specifying a checkpoint mode -- and the default is
a spread checkpoint, which may cause any tests that use that to take
slightly longer than the bare minimum.

I propose to make it use a fast checkpoint, as per the attached.

--
Álvaro Herrera

Attachment Content-Type Size
tap-fast-chkp.patch text/x-diff 506 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2020-10-20 15:10:24 Re: Hash support for row types
Previous Message Shay Rojansky 2020-10-20 14:28:06 Re: dynamic result sets support in extended query protocol