Re: [PATCH] Find additional connection service files inpg_service.conf.d directory - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Find additional connection service files inpg_service.conf.d directory
Date
Msg-id 20180619014532.GD3314@paquier.xyz
Whole thread Raw
In response to Re: [PATCH] Find additional connection service files inpg_service.conf.d directory  (Arthur Zakirov <a.zakirov@postgrespro.ru>)
List pgsql-hackers
On Mon, Jun 18, 2018 at 07:17:14PM +0300, Arthur Zakirov wrote:
> Isn't it worth to check errno for stat(), opendir() and readdir()
> calls?

Checking for such errors is mandatory.  There are some cases where there
are filters based on errno like ENOENT, but if something unexpected is
happening the user should know about it.  Of course this depends on the
feature discussed and its properties..
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Index Skip Scan
Next
From: Amit Langote
Date:
Subject: Re: Partitioning with temp tables is broken