Re: [PATCH] Find additional connection service files in pg_service.conf.d directory

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Arthur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>
Cc: Curt Tilmes <curt(at)tilmes(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Find additional connection service files in pg_service.conf.d directory
Date: 2018-06-19 01:45:32
Message-ID: 20180619014532.GD3314@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-06-19 01:56:49 Re: Partitioning with temp tables is broken
Previous Message Michael Paquier 2018-06-19 01:40:02 Re: Index Skip Scan