Re: [PATCH] Find additional connection service files inpg_service.conf.d directory
В списке pgsql-hackers по дате отправления:
| От | Arthur Zakirov |
|---|---|
| Тема | Re: [PATCH] Find additional connection service files inpg_service.conf.d directory |
| Дата | |
| Msg-id | 20180618161712.GA2086@zakirov.localdomain обсуждение исходный текст |
| Ответ на | Re: [PATCH] Find additional connection service files inpg_service.conf.d directory (Curt Tilmes <curt@tilmes.org>) |
| Ответы |
Re: [PATCH] Find additional connection service files inpg_service.conf.d directory
Re: [PATCH] Find additional connection service files inpg_service.conf.d directory |
| Список | pgsql-hackers |
Hello, On Thu, Mar 01, 2018 at 01:40:10PM -0500, Curt Tilmes wrote: > New patch limits files to ".conf". Isn't it worth to check errno for stat(), opendir() and readdir() calls? I think when some error occured in searchServiceFileDirectory() then the error "definition of service \"%s\" not found" will be raised, because group_found is false. It may confuse as it hides a real error. For example, if permission is denied to open the directory. -- Arthur Zakirov Postgres Professional: http://www.postgrespro.com Russian Postgres Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера