Default libpq service

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Default libpq service
Date: 2004-06-29 19:46:34
Message-ID: 200406292146.34751.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2004-06-29 20:17:56 Re: nested xacts and phantom Xids
Previous Message Merlin Moncure 2004-06-29 19:35:22 Re: lock timeout patch