| От | Tom Lane |
|---|---|
| Тема | pgsql: Fix uninitialized-variable bug. |
| Дата | |
| Msg-id | E1ZkYPB-00010C-8J@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Fix uninitialized-variable bug. For some reason, neither of the compilers I usually use noticed the uninitialized-variable problem I introduced in commit 7e2a18a9161fee7e. That's hardly a good enough excuse though. Committing with brown paper bag on head. In addition to putting the operations in the right order, move the declaration of "now" inside the loop; there's no need for it to be outside, and that does wake up older gcc enough to notice any similar future problem. Back-patch to 9.4; earlier versions lack the time-to-SIGKILL stanza so there's no bug. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/e50431aa22e3b894ac107affd358052c20a899f7 Modified Files -------------- src/backend/postmaster/postmaster.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера