| От | Bruce Momjian |
|---|---|
| Тема | Re: Define variables in the approprieate scope |
| Дата | |
| Msg-id | 20200318230847.GC28341@momjian.us обсуждение |
| Ответ на | Define variables in the approprieate scope (Antonin Houska <ah@cybertec.at>) |
| Ответы |
Re: Define variables in the approprieate scope
|
| Список | pgsql-hackers |
On Tue, Feb 25, 2020 at 09:35:52AM +0100, Antonin Houska wrote: > I've noticed that two variables in RelationCopyStorage() are defined in a > scope higher than necessary. Please see the patch. It seems cleaner to me to allocate the variables once before the loop starts, rather than for each loop iteration. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EnterpriseDB https://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера