unknown libpq service entries ignored
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers@postgresql.org
Date: 2009-11-26T08:57:28Z
Lists: pgsql-hackers
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?