Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit
Дата
Msg-id Z9axcAh153fFHWGW@paquier.xyz
обсуждение исходный текст
Ответ на Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit
Список pgsql-hackers
On Tue, Mar 11, 2025 at 04:06:14PM +0900, Michael Paquier wrote:
> Right.  This improves the clarity of the code, so agreed about the use
> of a local variable here.

More code paths of pg_createsubscriber.c have similar loops, but this
is the only one where LogicalRepInfo can be used.  So, applied as you
have suggested, without touching the other loops.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления: