Re: Removal of duplicate variable declarations in fe-connect.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Removal of duplicate variable declarations in fe-connect.c
Дата
Msg-id 20190222042246.GA24416@paquier.xyz
обсуждение исходный текст
Ответ на Removal of duplicate variable declarations in fe-connect.c  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Ответы Re: Removal of duplicate variable declarations in fe-connect.c  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Список pgsql-hackers
On Fri, Feb 22, 2019 at 11:33:17AM +1100, Haribabu Kommi wrote:
> During the development of another feature, I found that same local
> variables are declared twice.
> IMO, there is no need of again declaring the local variables. Patch
> attached.

Indeed, fixed.  That's not a good practice, and each variable is
assigned in its own block before getting used, so there is no
overlap.
--
Michael

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Unified security key managment
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Using old master as new replica after clean switchover