Re: pg_receivewal: remove extra conn = NULL; in StreamLog

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: pg_receivewal: remove extra conn = NULL; in StreamLog
Дата
Msg-id 0C844850-3F65-4558-B3CB-8D0C29C387B9@yesql.se
обсуждение исходный текст
Ответ на pg_receivewal: remove extra conn = NULL; in StreamLog  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: pg_receivewal: remove extra conn = NULL; in StreamLog  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
> On 28 Aug 2021, at 14:10, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> wrote:

> It seems there's a redundant assignment statement conn = NULL in
> pg_receivewal's StreamLog function. Attaching a tiny patch herewith.
> Thoughts?

Agreed, while harmless this is superfluous since conn is already set to NULL
after the PQfinish call a few lines up (which was added in a4205fa00d526c3).
Unless there are objections I’ll apply this tomorrow or Monday.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: extended stats objects are the only thing written like "%s"."%s"
Следующее
От: Álvaro Herrera
Дата:
Сообщение: Re: Autovacuum on partitioned table (autoanalyze)