pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Hemil Ruparel <hemilruparel2002@gmail.com>
Cc: Muthukumar.GK <muthankumar@gmail.com>
Cc: Nicklas Avén <nicklas.aven@jordogskog.no>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: Accessing Postgres Server and database from other Machine
Date: Sat, 5 Dec 2020 10:05:05 +0100
Message-ID: <9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com> (raw)
In-Reply-To: <CANW1aT8jXj+ZTKmCb_hNydX69LogNa-BYOaZdotLcLRpbCFjOQ@mail.gmail.com>
References: <CA+rAWgnbLk9TWatPPQYx_R1Mvgdd+59cnrx1tOGJXbZ2G6S1=A@mail.gmail.com>
	<f8dea25e-205d-3ad7-30c8-6f81586a9bd0@aklaver.com>
	<A67CA642-8DE2-4429-8D6C-A22CF035B120@gmail.com>
	<717fd284-6bf5-c5d5-3fed-bb3677108b7a@aklaver.com>
	<450B1DA0-91E3-43E9-873A-82E89A655AC5@jordogskog.no>
	<CA+rAWgnHBBvTJNFOy+8XXya7vfp4d9sR6nHD2e9VSgta+QcaHA@mail.gmail.com>
	<CANW1aT8jXj+ZTKmCb_hNydX69LogNa-BYOaZdotLcLRpbCFjOQ@mail.gmail.com>

Hi Hemil,

> On 05. Dec, 2020, at 07:50, Hemil Ruparel <hemilruparel2002@gmail.com> wrote:
> 
> Did you restart postgres after changing pg_hba.conf?

that shouldn't be necessary for changes in pg_hba.conf. Just do either on the command line:

$ pg_ctl reload

or from psql:

postgres=# select pg_reload_conf();

You can then see the effective result immediately in pg_hab_file_rules:

postgres=# table pg_hba_file_rules;

Hope this helps.

Cheers,
Paul




view thread (18+ messages)  latest in thread

Message-ID: <9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com>
Permalink:  ../9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com/
Also on:    postgresql.org/message-id/9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com

 · 

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: paul.foerster@gmail.com, hemilruparel2002@gmail.com, muthankumar@gmail.com, nicklas.aven@jordogskog.no, adrian.klaver@aklaver.com
  Subject: Re: Accessing Postgres Server and database from other Machine
  In-Reply-To: <9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com>
  References: <CA+rAWgnbLk9TWatPPQYx_R1Mvgdd+59cnrx1tOGJXbZ2G6S1=A@mail.gmail.com> <f8dea25e-205d-3ad7-30c8-6f81586a9bd0@aklaver.com> <A67CA642-8DE2-4429-8D6C-A22CF035B120@gmail.com> <717fd284-6bf5-c5d5-3fed-bb3677108b7a@aklaver.com> <450B1DA0-91E3-43E9-873A-82E89A655AC5@jordogskog.no> <CA+rAWgnHBBvTJNFOy+8XXya7vfp4d9sR6nHD2e9VSgta+QcaHA@mail.gmail.com> <CANW1aT8jXj+ZTKmCb_hNydX69LogNa-BYOaZdotLcLRpbCFjOQ@mail.gmail.com> <9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com>

* 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