Move block_range_read_stream_cb batchmode comment - Mailing list pgsql-hackers

From Arseniy Mukhin
Subject Move block_range_read_stream_cb batchmode comment
Date
Msg-id CAE7r3M+P1Qcv7CYxi=Jw_d40L=sVRAxdDti-Vo4X5x0opZ3XVw@mail.gmail.com
Whole thread Raw
Responses Re: Move block_range_read_stream_cb batchmode comment
List pgsql-hackers
Hi,

Currently, each usage of block_range_read_stream_cb is accompanied by
the same comment about the safety of using batchmode (there are 7
identical comments)

/*
 * It is safe to use batchmode as block_range_read_stream_cb takes no
 * locks.
 */

The idea is to write it once near block_range_read_stream_cb and drop
all duplicates. PFA the small patch that does this.


Best regards,
Arseniy Mukhin

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG 18 relnotes and RC1
Next
From: Alvaro Herrera
Date:
Subject: Re: Adding REPACK [concurrently]