Re: [EXTERNAL] Support load balancing in libpq

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: [EXTERNAL] Support load balancing in libpq
Дата
Msg-id CAJ7c6TMKiOJAjEqGeGQ9ntZijM=OgAQwPXnh0NnT0cse1-oBEw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [EXTERNAL] Support load balancing in libpq  (Aleksander Alekseev <aleksander@timescale.com>)
Список pgsql-hackers
Hi,

> ```
> +        ret = store_conn_addrinfo(conn, addrlist);
> +        pg_freeaddrinfo_all(hint.ai_family, addrlist);
> +        if (ret)
> +            goto error_return;    /* message already logged */
> ```
> The goto path is not test-covered.

D'oh, this one is fine since store_conn_addrinfo() is going to fail
only when we are out of memory.

-- 
Best regards,
Aleksander Alekseev



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [EXTERNAL] Support load balancing in libpq
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Infinite Interval