pgpass hostname and IP address

From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: pgpass hostname and IP address
Date: 2018-03-10 04:19:15
Message-ID: 289728e3-c240-bfb3-2c0b-0016855beb03@cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

(8.4 and 9.2, but soon to 9.6)

If we sometimes access a db server by IP address, and sometimes by hostname,
must we have two entries for each server+user (one with the hostname and the
other with IP address), or is there a way to put them both on the same line?

--
Angular momentum makes the world go 'round.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2018-03-10 04:26:37 Re: pgpass hostname and IP address
Previous Message Sherman Willden 2018-03-10 00:25:41 Need followup setup instructions to postgresql-10.3-1-linux-x64.run