Re: unknown libpq service entries ignored

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: unknown libpq service entries ignored
Date: 2009-11-27 07:22:28
Message-ID: 1259306548.5478.12.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
service-file.patch text/x-patch 472 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-11-27 08:28:07 Re: Hot Standby and cancelling idle queries
Previous Message Albe Laurenz 2009-11-27 07:05:04 Re: unknown libpq service entries ignored