pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yogesh <yogesh.jadhav@gmail.com>
Cc: david.g.johnston@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15508: Not able to connect irrespective of valid entries in pg_hba.conf
Date: Thu, 15 Nov 2018 09:41:37 -0500
Message-ID: <15481.1542292897@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMY89Ft0587wnQ5oX1x7OH80XdNEKpNnpFjaYR1k1n8tFjuKzQ@mail.gmail.com>
References: <15508-4f247f02568dbf5f@postgresql.org>
	<CAKFQuwbSDCeoYcYaBgKTmC7KR5RXnCXf8dgHETQzHtpYHmgOsA@mail.gmail.com>
	<CAMY89Ft0587wnQ5oX1x7OH80XdNEKpNnpFjaYR1k1n8tFjuKzQ@mail.gmail.com>

Yogesh <yogesh.jadhav@gmail.com> writes:
> Thanks for your response, David. I did restart postgres server (in fact
> more than 10 times).

Well, the three possibilities are (1) you edited the wrong file, (2) you
did not restart/reload the server, and (3) you put the wrong info into
the file.  We seem to have eliminated (1) and (2) so that leaves (3).
What is the pg_hba.conf entry that you are expecting to match this
connection request?

You may have to show us the un-obfuscated server error message, too,
if you want an accurate diagnosis of why it's not matching the connection.

			regards, tom lane




view thread (4+ messages)

Message-ID: <15481.1542292897@sss.pgh.pa.us>
Permalink:  ../15481.1542292897@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15481.1542292897@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, yogesh.jadhav@gmail.com, david.g.johnston@gmail.com
  Subject: Re: BUG #15508: Not able to connect irrespective of valid entries in pg_hba.conf
  In-Reply-To: <15481.1542292897@sss.pgh.pa.us>
  References: <15508-4f247f02568dbf5f@postgresql.org> <CAKFQuwbSDCeoYcYaBgKTmC7KR5RXnCXf8dgHETQzHtpYHmgOsA@mail.gmail.com> <CAMY89Ft0587wnQ5oX1x7OH80XdNEKpNnpFjaYR1k1n8tFjuKzQ@mail.gmail.com> <15481.1542292897@sss.pgh.pa.us>

* 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