unknown libpq service entries ignored

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: unknown libpq service entries ignored
Date: 2009-11-26 08:57:28
Message-ID: 1259225848.32474.33.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Roger Leigh 2009-11-26 09:08:37 Re: garbage in psql -l
Previous Message Fujii Masao 2009-11-26 08:20:43 Re: Backup history file should be replicated in Streaming Replication?