Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMKJt-0001cW-SD for pgsql-jdbc@arkaria.postgresql.org; Wed, 28 Dec 2016 19:55:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cMKJt-00085W-8l for pgsql-jdbc@arkaria.postgresql.org; Wed, 28 Dec 2016 19:55:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cMKJs-00085F-Ig for pgsql-jdbc@postgresql.org; Wed, 28 Dec 2016 19:55:28 +0000 Received: from white.spiritone.com ([216.99.193.38]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMKJo-00026U-QH for pgsql-jdbc@postgresql.org; Wed, 28 Dec 2016 19:55:27 +0000 Received: from salmo.appl-ecosys.com (unknown [50.45.246.170]) by white.spiritone.com (Postfix) with ESMTPSA id 717D9734052E for ; Wed, 28 Dec 2016 11:55:22 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by salmo.appl-ecosys.com (Postfix) with ESMTP id ACCE39927F for ; Wed, 28 Dec 2016 11:55:21 -0800 (PST) Date: Wed, 28 Dec 2016 11:55:21 -0800 (PST) From: Rich Shepard To: pgsql-jdbc@postgresql.org Subject: Re: Questions on use In-Reply-To: <9b5bf55a-85be-e6b0-71d1-6579ea76891e@hogranch.com> Message-ID: References: <51538255-cd71-41f3-3b98-c16d252c2f3f@hogranch.com> <9b5bf55a-85be-e6b0-71d1-6579ea76891e@hogranch.com> User-Agent: Alpine 2.11 (LNX 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Wed, 28 Dec 2016, John R Pierce wrote: > with psql, no -h and -h localhost are two different connection types. if > you don't specify a -h, it uses a 'unix domain socket', Thanks, John. I believe that I understand the differences. Here, /var/lib/pgsql/9.6/data/pg_hba.conf contains: # IPv4 local connections: host all rshepard 192.168.55.0/24 trust hostnossl all rshepard 192.168.55.0/24 trust I've left the ipv6 line alone. Regards, Rich -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc