Re: [HACKERS] List of hostaddrs not supported

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [HACKERS] List of hostaddrs not supported
Дата
Msg-id 64da4b09-8058-6768-faf8-01a977c6f0a9@iki.fi
обсуждение исходный текст
Ответ на Re: [HACKERS] List of hostaddrs not supported  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: [HACKERS] List of hostaddrs not supported  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
On 06/09/2017 05:47 PM, Jeff Janes wrote:
> Your commit to fix this part, 76b11e8a43eca4612d, is giving me compiler
> warnings:
>
> fe-connect.c: In function 'connectDBStart':
> fe-connect.c:1625: warning: 'ret' may be used uninitialized in this function
>
> gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)

Oh. Apparently that version of gcc doesn't take it for granted that the 
switch-statement covers all the possible cases. I've added a dummy 
initialization, to silence it. Thanks, and let me know if it didn't help.

- Heikki




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] List of hostaddrs not supported
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] walsender & parallelism