[PATCH] Remove unused is_error parameter from TeardownHistoricSnapshot() - Mailing list pgsql-hackers

From 慈超云
Subject [PATCH] Remove unused is_error parameter from TeardownHistoricSnapshot()
Date
Msg-id tencent_0602D4A244D19D1513EBB209@qq.com
Whole thread Raw
Responses Re: [PATCH] Remove unused is_error parameter from TeardownHistoricSnapshot()
List pgsql-hackers
Hi hackers,

I found that the is_error parameter of the TeardownHistoricSnapshot() function is not actually used anywhere in the code.
This parameter was introduced in commit
b89e151054a05f0f6d356ca52e3b725dd0505e53 as part of the logical decoding feature, but has never been used. The function just sets two global pointers to NULL regardless of the parameter value.
So  I' ve submitted a patch to remove this unused parameter.

Please see the attached patch for details.

Best regards,
Chaoyun

Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Add pg_stat_recovery system view
Next
From: Rafia Sabih
Date:
Subject: Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement