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?
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers