Re: pg_service.conf file with unknown parameters

2020-09-21 Thread Daniel Gustafsson
> On 11 Sep 2020, at 14:39, Magnus Hagander wrote: > For example, if I have a service file with gssencmode=disable set, that > service file cannot be used by a psql client linked against libpq from > version 10. Even if the behavior would be identical (since v10 doesn't have > gssencmode). >

Re: pg_service.conf file with unknown parameters

2020-09-18 Thread Bruce Momjian
On Fri, Sep 11, 2020 at 02:39:51PM +0200, Magnus Hagander wrote: > Right now, pg_service.conf returns "syntax error" if it encounters a parameter > it doesn't know about. > > This seems user-unfriendly, both in the error message (because it really isn't > a syntax error) and in the behaviour itsel

pg_service.conf file with unknown parameters

2020-09-11 Thread Magnus Hagander
Right now, pg_service.conf returns "syntax error" if it encounters a parameter it doesn't know about. This seems user-unfriendly, both in the error message (because it really isn't a syntax error) and in the behaviour itself (because it doesn't work when sometimes it should). For example, if I ha