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

From Curt Tilmes
Subject Re: [PATCH] Find additional connection service files inpg_service.conf.d directory
Date
Msg-id CAMv20O_4s3vzPRFHxiTtoTR_tBE8=bdwUWkwXmvDe5CHdXveCw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Find additional connection service files inpg_service.conf.d directory  (Curt Tilmes <curt@tilmes.org>)
Responses Re: [PATCH] Find additional connection service files inpg_service.conf.d directory  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Thu, Mar 1, 2018 at 11:36 AM, Curt Tilmes <curt@tilmes.org> wrote:
> Do you have any specific suggestions?  Would it help if I separated
> the new code into its own subroutine?

I broke the new directory search out into its own subroutine, so even
less impact on existing code.

>> In my experience with such .conf.d directories it's very useful to
>> filter names not matching a common pattern. Otherwise you end up with
>> editor tempfiles and such being used, which gets confusing.
>
> Suggestions?  I'll make it skip over files prefixed with '.'.
> Anything else you suggest?

New patch skips over '.' dotfiles.

Curt

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PoC PATCH] Parallel dump to /dev/null
Next
From: Andres Freund
Date:
Subject: Re: pgbench - add \if support