Re: Extend postgres_fdw_get_connections to return remote backend pid

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Sagar Shedge <sagar.shedge92@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-02-28T12:02:43Z
Lists: pgsql-hackers

Attachments


On 2025/02/28 15:10, Sagar Shedge wrote:
>> For now, I think it makes sense to keep postgres_fdw_get_connections()
>> aligned with the current implementation. Otherwise, explaining what
>> remote_backend_pid = NULL means could be confusing, especially since
>> pipeline mode isn't supported yet in postgres_fdw.
> 
> Make sense. I have created a patch according to the above suggestions.
> Please review.

Thanks for updating the patch!

I made a few cosmetic adjustments and attached the revised version.
Unless there are any objections, I plan to commit this.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Commits

  1. postgres_fdw: Extend postgres_fdw_get_connections to return remote backend PID.