Minor code de-duplication in fe-connect.c

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Minor code de-duplication in fe-connect.c
Дата
Msg-id CABwTF4Um-Y=QkfA42Sx0oThasNPgmurk_gU4hfy_Ntf64n4bUQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Minor code de-duplication in fe-connect.c  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Commit [1] implements Fisher-Yates shuffling algorithm to shuffle
connection addresses, in two places.

The attached patch moves the duplicated code to a function, and calls
it in those 2 places.

[1]: Support connection load balancing in libpq
7f5b19817eaf38e70ad1153db4e644ee9456853e

Best regards,
Gurjeet https://Gurje.et
Postgres Contributors Team, http://aws.amazon.com

Вложения

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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: Make message strings in fe-connect.c consistent
Следующее
От: "Yu Shi (Fujitsu)"
Дата:
Сообщение: RE: Test failures of 100_bugs.pl