Re: param 'txn' not used in function maybe_send_schema()

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: param 'txn' not used in function maybe_send_schema()
Date: 2021-07-31 01:08:03
Message-ID: aa267495-4356-e1f9-7e8b-51902906fe1d@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021/07/30 22:27, houzj(dot)fnst(at)fujitsu(dot)com wrote:
> Hi,
>
> When reviewing logicalreplication related patches, I noticed the function
> param ReorderBufferTXN *txn not used in the function maybe_send_schema(). Since
> this is not an external function, I think it might be better to remove the unused paramater.

+1

Seems commit 464824323e accidentally added the argument though
it's not used in maybe_send_schema(). I *guess* that it was used
in the patches in dev early stage, but it's changed so that no longer used
while it's being reviewed. But maybe we forgot to remove it.

Barring any objection, I will commit the patch.

Regards,

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-07-31 01:17:59 Re: Asynchronous and "direct" IO support for PostgreSQL.
Previous Message Thomas Munro 2021-07-31 00:42:47 Re: Asynchronous and "direct" IO support for PostgreSQL.