Default libpq service - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Default libpq service
Date
Msg-id 200406292146.34751.peter_e@gmx.net
Whole thread Raw
Responses Re: Default libpq service
List pgsql-hackers
A while ago it was speculated that it might be nice to have a default 
service in libpq's pg_service.conf file that would supply missing 
connection parameters if none are specified elsewhere, so users could, 
say, set the default server host in a configuration file instead of 
environment variables.

The precendence would be like this: explicit specification, service (if 
explicitly specified), environment, (new: ) default service, 
compiled-in default (e.g., for port).  (Or maybe the default service 
before the environment?)

Comments?  Better ideas?



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Accessing Specific Schemas
Next
From: "Merlin Moncure"
Date:
Subject: Re: lock timeout patch