Re: fully qualified domain names and .pgpass

2022-10-04 Thread Ron
On 10/4/22 12:33, Alvaro Herrera wrote: On 2022-Oct-04, Ron wrote: Sometimes (both interactively and via script) I access a remote Pg server via just the bare host name "foobar", and other times via the FQDN "foobar.example.com". I've only been able to get this to work by having two lines in

Re: fully qualified domain names and .pgpass

2022-10-04 Thread Jeffrey Walton
On Tue, Oct 4, 2022 at 1:02 PM Ron wrote: > > Sometimes (both interactively and via script) I access a remote Pg server > via just the bare host name "foobar", and other times via the FQDN > "foobar.example.com". > > I've only been able to get this to work by having two lines in the .pgpass >

Re: fully qualified domain names and .pgpass

2022-10-04 Thread Adrian Klaver
On 10/4/22 10:02 AM, Ron wrote: Sometimes (both interactively and via script) I access a remote Pg server via just the bare host name "foobar", and other times via the FQDN "foobar.example.com". I've only been able to get this to work by having two lines in the .pgpass file:

Re: fully qualified domain names and .pgpass

2022-10-04 Thread Alvaro Herrera
On 2022-Oct-04, Ron wrote: > Sometimes (both interactively and via script) I access a remote Pg server > via just the bare host name "foobar", and other times via the FQDN > "foobar.example.com". > > I've only been able to get this to work by having two lines in the .pgpass > file: Maybe it

fully qualified domain names and .pgpass

2022-10-04 Thread Ron
Sometimes (both interactively and via script) I access a remote Pg server via just the bare host name "foobar", and other times via the FQDN "foobar.example.com". I've only been able to get this to work by having two lines in the .pgpass file: foobar:5432:postgres:Allegedly.Strong.Password