postgres_fdw: Emit message when batch_size is reduced

From: Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: postgres_fdw: Emit message when batch_size is reduced
Date: 2026-06-01 11:55:35
Message-ID: CA+FpmFcNgH7w6iTrwT9MAybV2rZ3uhr0G4m_QPVkZDMuGwThtg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

I noticed that when configured batch_size is reduced because of libpq
limit, in postgresGetForeignModifyBatchSize, there is no message about it
that gets to the user. I am thinking that to keep the transparency it makes
sense to add a debug message at least, as per the attached patch.

What do you think?

--
Regards,
Rafia Sabih
CYBERTEC PostgreSQL International GmbH

Attachment Content-Type Size
0001-Emit-debug-message-for-batch_size-reduced.patch application/octet-stream 3.9 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Nisha Moond 2026-06-01 12:23:08 Re: Proposal: Conflict log history table for Logical Replication
Previous Message Ashutosh Bapat 2026-06-01 11:48:13 Re: A few message wording/formatting cleanup patches