pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Johnson <ron.l.johnson@cox.net>
To: pgsql-general@lists.postgresql.org
Subject: pgpass hostname and IP address
Date: Fri, 9 Mar 2018 22:19:15 -0600
Message-ID: <289728e3-c240-bfb3-2c0b-0016855beb03@cox.net> (raw)

(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.




view thread (5+ messages)  latest in thread

Message-ID: <289728e3-c240-bfb3-2c0b-0016855beb03@cox.net>
Permalink:  ../289728e3-c240-bfb3-2c0b-0016855beb03@cox.net/
Also on:    postgresql.org/message-id/289728e3-c240-bfb3-2c0b-0016855beb03@cox.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ron.l.johnson@cox.net
  Subject: Re: pgpass hostname and IP address
  In-Reply-To: <289728e3-c240-bfb3-2c0b-0016855beb03@cox.net>
  References: <289728e3-c240-bfb3-2c0b-0016855beb03@cox.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox