Re: unknown libpq service entries ignored - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: unknown libpq service entries ignored
Date
Msg-id 1259306548.5478.12.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to unknown libpq service entries ignored  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: unknown libpq service entries ignored
List pgsql-hackers
On tor, 2009-11-26 at 10:57 +0200, Peter Eisentraut wrote:
> When using the "service" parameter in a libpq connection (e.g., psql
> service=foo), and the service name is not defined in pg_service.conf,
> then the setting is silently ignored and the connection proceeds with
> whatever other settings and defaults apply.  That does not look very
> robust.  Shouldn't there be an error when a specified service name does
> not exist?

Possible patch for this issue.

Attachment

pgsql-hackers by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: unknown libpq service entries ignored
Next
From: Simon Riggs
Date:
Subject: Re: Hot Standby and cancelling idle queries